driver-core: make __device_attach() static
PATCH 1/1 driver-core: make __device_attach() static
It is only used within dd.c and thus need not be global.
Reported-by kbuild test robot <[email protected]>
Signed-off-by Dmitry Torokhov <[email protected]>
--- drivers/base/dd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/dd.c +1 -1
@@ -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 ;
Signature · 5 lines
2.2.0.rc0.207.ga3a616c -- Dmitry