diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-05-20 19:36:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 15:28:30 -0400 |
commit | 802a87fd5be9cac1d05879bcdae2620e46b0dbe6 (patch) | |
tree | e726e5174d9cf92180b65fa2813069674938f3df /drivers/base/dd.c | |
parent | dc7dfcd838985947ee1a66cdaa41c4968404e0ed (diff) |
driver-core: make __device_attach() static
It is only used within dd.c and thus need not be global.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/dd.c')
-rw-r--r-- | drivers/base/dd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 39292535c74e..42e97d90a59a 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) | |||
517 | put_device(dev); | 517 | put_device(dev); |
518 | } | 518 | } |
519 | 519 | ||
520 | int __device_attach(struct device *dev, bool allow_async) | 520 | static int __device_attach(struct device *dev, bool allow_async) |
521 | { | 521 | { |
522 | int ret = 0; | 522 | int ret = 0; |
523 | 523 | ||