Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f50fb22 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Lingutla Chandrasekhar
Browse files

driver-core: make __device_attach() static



It is only used within dd.c and thus need not be global.

Change-Id: I098406c6aa42f1360437224c727e8bdcecbcf3d1
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 802a87fd5be9cac1d05879bcdae2620e46b0dbe6
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent ec8aa6b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -525,7 +525,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;