mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
bus: fsl-mc: fsl-mc-bus: Demote a bunch of non-conformant kernel-doc headers and help others
Fixes the following W=1 kernel build warning(s): drivers/bus/fsl-mc/fsl-mc-bus.c:30: warning: expecting prototype for Default DMA mask for devices on a fsl(). Prototype was for FSL_MC_DEFAULT_DMA_MASK() instead drivers/bus/fsl-mc/fsl-mc-bus.c:45: warning: Function parameter or member 'fsl_mc_regs' not described in 'fsl_mc' drivers/bus/fsl-mc/fsl-mc-bus.c:124: warning: Function parameter or member 'dev' not described in 'fsl_mc_bus_uevent' drivers/bus/fsl-mc/fsl-mc-bus.c:124: warning: Function parameter or member 'env' not described in 'fsl_mc_bus_uevent' drivers/bus/fsl-mc/fsl-mc-bus.c:480: warning: Function parameter or member 'mc_driver' not described in '__fsl_mc_driver_register' drivers/bus/fsl-mc/fsl-mc-bus.c:480: warning: Function parameter or member 'owner' not described in '__fsl_mc_driver_register' drivers/bus/fsl-mc/fsl-mc-bus.c:511: warning: Function parameter or member 'mc_driver' not described in 'fsl_mc_driver_unregister' drivers/bus/fsl-mc/fsl-mc-bus.c:571: warning: Function parameter or member 'dev' not described in 'fsl_mc_get_root_dprc' drivers/bus/fsl-mc/fsl-mc-bus.c:571: warning: Function parameter or member 'root_dprc_dev' not described in 'fsl_mc_get_root_dprc' drivers/bus/fsl-mc/fsl-mc-bus.c:739: warning: Function parameter or member 'dev' not described in 'fsl_mc_is_root_dprc' drivers/bus/fsl-mc/fsl-mc-bus.c:767: warning: Function parameter or member 'obj_desc' not described in 'fsl_mc_device_add' drivers/bus/fsl-mc/fsl-mc-bus.c:767: warning: Function parameter or member 'mc_io' not described in 'fsl_mc_device_add' drivers/bus/fsl-mc/fsl-mc-bus.c:767: warning: Function parameter or member 'parent_dev' not described in 'fsl_mc_device_add' drivers/bus/fsl-mc/fsl-mc-bus.c:767: warning: Function parameter or member 'new_mc_dev' not described in 'fsl_mc_device_add' drivers/bus/fsl-mc/fsl-mc-bus.c:767: warning: expecting prototype for Add a newly discovered fsl(). Prototype was for fsl_mc_device_add() instead drivers/bus/fsl-mc/fsl-mc-bus.c:1066: warning: Function parameter or member 'pdev' not described in 'fsl_mc_bus_probe' drivers/bus/fsl-mc/fsl-mc-bus.c:1190: warning: Function parameter or member 'pdev' not described in 'fsl_mc_bus_remove' Cc: Stuart Yoder <stuyoder@gmail.com> Cc: German Rivera <German.Rivera@freescale.com> Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20210617110500.15907-3-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
33c6527a07
commit
d71b57dc07
@ -24,7 +24,7 @@
|
||||
|
||||
#include "fsl-mc-private.h"
|
||||
|
||||
/**
|
||||
/*
|
||||
* Default DMA mask for devices on a fsl-mc bus
|
||||
*/
|
||||
#define FSL_MC_DEFAULT_DMA_MASK (~0ULL)
|
||||
@ -36,6 +36,7 @@ static struct fsl_mc_version mc_version;
|
||||
* @root_mc_bus_dev: fsl-mc device representing the root DPRC
|
||||
* @num_translation_ranges: number of entries in addr_translation_ranges
|
||||
* @translation_ranges: array of bus to system address translation ranges
|
||||
* @fsl_mc_regs: base address of register bank
|
||||
*/
|
||||
struct fsl_mc {
|
||||
struct fsl_mc_device *root_mc_bus_dev;
|
||||
@ -117,7 +118,7 @@ out:
|
||||
return found;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* fsl_mc_bus_uevent - callback invoked when a device is added
|
||||
*/
|
||||
static int fsl_mc_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
|
||||
@ -467,7 +468,7 @@ static void fsl_mc_driver_shutdown(struct device *dev)
|
||||
mc_drv->shutdown(mc_dev);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* __fsl_mc_driver_register - registers a child device driver with the
|
||||
* MC bus
|
||||
*
|
||||
@ -503,7 +504,7 @@ int __fsl_mc_driver_register(struct fsl_mc_driver *mc_driver,
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__fsl_mc_driver_register);
|
||||
|
||||
/**
|
||||
/*
|
||||
* fsl_mc_driver_unregister - unregisters a device driver from the
|
||||
* MC bus
|
||||
*/
|
||||
@ -563,7 +564,7 @@ struct fsl_mc_version *fsl_mc_get_version(void)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(fsl_mc_get_version);
|
||||
|
||||
/**
|
||||
/*
|
||||
* fsl_mc_get_root_dprc - function to traverse to the root dprc
|
||||
*/
|
||||
void fsl_mc_get_root_dprc(struct device *dev,
|
||||
@ -732,7 +733,7 @@ error_cleanup_regions:
|
||||
return error;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* fsl_mc_is_root_dprc - function to check if a given device is a root dprc
|
||||
*/
|
||||
bool fsl_mc_is_root_dprc(struct device *dev)
|
||||
@ -757,7 +758,7 @@ static void fsl_mc_device_release(struct device *dev)
|
||||
kfree(mc_dev);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Add a newly discovered fsl-mc device to be visible in Linux
|
||||
*/
|
||||
int fsl_mc_device_add(struct fsl_mc_obj_desc *obj_desc,
|
||||
@ -1058,7 +1059,7 @@ static int get_mc_addr_translation_ranges(struct device *dev,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* fsl_mc_bus_probe - callback invoked when the root MC bus is being
|
||||
* added
|
||||
*/
|
||||
@ -1182,7 +1183,7 @@ error_cleanup_mc_io:
|
||||
return error;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* fsl_mc_bus_remove - callback invoked when the root MC bus is being
|
||||
* removed
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user