mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
mcb: Remove trailing semicolon in macros
Macros should not use a trailing semicolon. Signed-off-by: Huilong Deng <denghuilong@cdjrlc.com> Signed-off-by: Johannes Thumshirn <jth@kernel.org> Link: https://lore.kernel.org/r/fe520620eeddaa2ed8c669125f9b673c89d6b5a5.1623768541.git.johannes.thumshirn@wdc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c7e9967668
commit
60f86b9a1c
@ -120,7 +120,7 @@ extern int __must_check __mcb_register_driver(struct mcb_driver *drv,
|
||||
__mcb_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)
|
||||
extern void mcb_unregister_driver(struct mcb_driver *driver);
|
||||
#define module_mcb_driver(__mcb_driver) \
|
||||
module_driver(__mcb_driver, mcb_register_driver, mcb_unregister_driver);
|
||||
module_driver(__mcb_driver, mcb_register_driver, mcb_unregister_driver)
|
||||
extern void mcb_bus_add_devices(const struct mcb_bus *bus);
|
||||
extern int mcb_device_register(struct mcb_bus *bus, struct mcb_device *dev);
|
||||
extern struct mcb_bus *mcb_alloc_bus(struct device *carrier);
|
||||
|
Loading…
Reference in New Issue
Block a user