Commit 802a87fd authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Greg Kroah-Hartman

driver-core: make __device_attach() static

It is only used within dd.c and thus need not be global.
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dc7dfcd8
......@@ -517,7 +517,7 @@ static void __device_attach_async_helper(void *_dev, async_cookie_t cookie)
put_device(dev);
}
int __device_attach(struct device *dev, bool allow_async)
static int __device_attach(struct device *dev, bool allow_async)
{
int ret = 0;
......
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