* [PATCH] driver-core: make __device_attach() static
@ 2015-05-20 23:36 Dmitry Torokhov
0 siblings, 0 replies; only message in thread
From: Dmitry Torokhov @ 2015-05-20 23:36 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: fengguang.wu, linux-kernel
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>
---
drivers/base/dd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 3929253..42e97d9 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;
--
2.2.0.rc0.207.ga3a616c
--
Dmitry
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-20 23:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-20 23:36 [PATCH] driver-core: make __device_attach() static Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox