diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-11-23 12:19:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 19:30:44 +0100 |
commit | 2c3dc6432f3316e97c10eced6b535046a80f73b0 (patch) | |
tree | 44910dfa3cea3cf3df8b5b33e8d6e57aa6c523ae /drivers/base/dd.c | |
parent | d475f8ea98a039e51d27f5557dc17333cf8a52f6 (diff) |
driver core: make driver_probe_device() static
It's only used inside drivers/base/dd.c
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Link: https://lore.kernel.org/r/20201123111938.18968-1-jwi@linux.ibm.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 cfc079e738bb..2f32f38a11ed 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -724,7 +724,7 @@ EXPORT_SYMBOL_GPL(wait_for_device_probe); * * If the device has a parent, runtime-resume the parent before driver probing. */ -int driver_probe_device(struct device_driver *drv, struct device *dev) +static int driver_probe_device(struct device_driver *drv, struct device *dev) { int ret = 0; |