提交 802a87fd 编写于 作者: D Dmitry Torokhov 提交者: Greg Kroah-Hartman

driver-core: make __device_attach() static

It is only used within dd.c and thus need not be global.
Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册