diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 39292535c74e1a9efa33d043a8d5a62c92ca157d..42e97d90a59a9dbd762730289771b3e802c099e2 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -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;