soundwire: add argument to function definition
Checkpatch warns that function definition of __sdw_register_driver misses argument, so add it WARNING: function definition argument 'struct module *' should also have an identifier name Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d6badd1c15
commit
51ed743734
|
@ -11,7 +11,7 @@ extern struct bus_type sdw_bus_type;
|
|||
#define sdw_register_driver(drv) \
|
||||
__sdw_register_driver(drv, THIS_MODULE)
|
||||
|
||||
int __sdw_register_driver(struct sdw_driver *drv, struct module *);
|
||||
int __sdw_register_driver(struct sdw_driver *drv, struct module *owner);
|
||||
void sdw_unregister_driver(struct sdw_driver *drv);
|
||||
|
||||
int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);
|
||||
|
|
Loading…
Reference in New Issue