Commit 8bb2d27f authored by Alexander Usyskin's avatar Alexander Usyskin Committed by Greg Kroah-Hartman

mei: make mei_cl_bus_rescan static

mei_cl_bus_rescan is used only in bus.c,
so make it local to the file and mark static.
Signed-off-by: default avatarAlexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50fa2951
...@@ -1038,7 +1038,7 @@ static void mei_cl_bus_dev_init(struct mei_device *bus, ...@@ -1038,7 +1038,7 @@ static void mei_cl_bus_dev_init(struct mei_device *bus,
* *
* @bus: mei device * @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_cl_device *cldev, *n;
struct mei_me_client *me_cl; struct mei_me_client *me_cl;
......
...@@ -306,7 +306,6 @@ struct mei_hw_ops { ...@@ -306,7 +306,6 @@ struct mei_hw_ops {
}; };
/* MEI bus API*/ /* 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_rescan_work(struct work_struct *work);
void mei_cl_bus_dev_fixup(struct mei_cl_device *dev); 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, ssize_t __mei_cl_send(struct mei_cl *cl, u8 *buf, size_t length,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment