Skip to contentSkip to conversation

mei: make mei_cl_bus_rescan static

PATCH New Tomas Winkler 1 participant 2 messages Apr 30, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index d1928fdd0f43..42078e6be47f 100644
@@ -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
index 63a67c99fc78..ebcd5132e447 100644
@@ -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
#1 lore raw

PATCH 2/2 mei: hw: fix a spelling mistake

notifcation -> notification

---
 drivers/misc/mei/hw.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/mei/hw.h +1 -1
index e1e4d47d4d7d..5c8286b40b62 100644
@@ -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