mei: make mei_cl_bus_rescan static
Subsystems (2)
PATCH 1/2 mei: make mei_cl_bus_rescan static
From: Alexander Usyskin <[email protected]>
mei_cl_bus_rescan is used only in bus.c,
so make it local to the file and mark static.
Signed-off-by Alexander Usyskin <[email protected]>
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/misc/mei/bus.c | 2 +- drivers/misc/mei/mei_dev.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/misc/mei/bus.c +1 -1
@@ -1038,7 +1038,7 @@ static void mei_cl_bus_dev_init(struct mei_device *bus,* * @bus: mei device */ -void mei_cl_bus_rescan (struct mei_device *bus) +static void mei_cl_bus_rescan (struct mei_device *bus) {struct mei_cl_device *cldev, *n;struct mei_me_client *me_cl;
drivers/misc/mei/mei_dev.h +0 -1
@@ -306,7 +306,6 @@ struct mei_hw_ops { };/* MEI bus API*/ -void mei_cl_bus_rescan (struct mei_device *bus);void mei_cl_bus_rescan_work (struct work_struct *work);void mei_cl_bus_dev_fixup (struct mei_cl_device *dev); ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length,
Signature · 1 line
2.9.3
PATCH 2/2 mei: hw: fix a spelling mistake
notifcation -> notification
Signed-off-by Tomas Winkler <[email protected]>
--- drivers/misc/mei/hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/mei/hw.h +1 -1
@@ -65,7 +65,7 @@#define HBM_MAJOR_VERSION_DOT 2/* -* MEI version with notifcation support +* MEI version with notification support */ #define HBM_MINOR_VERSION_EV 0#define HBM_MAJOR_VERSION_EV 2
Signature · 1 line
2.9.3