summaryrefslogtreecommitdiffstats
path: root/drivers/base/base.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-10-30 10:22:55 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-10 18:31:04 +0100
commit189a87f8ef8ceed16b2a230dc0ce65117068ac30 (patch)
treead47713f3350738ef2a4078a1cc9f28f9bde22e3 /drivers/base/base.h
parentdriver core: remove devm_device_remove_group() (diff)
downloadlinux-189a87f8ef8ceed16b2a230dc0ce65117068ac30.tar.xz
linux-189a87f8ef8ceed16b2a230dc0ce65117068ac30.zip
driver core: mark driver_allows_async_probing static
driver_allows_async_probing is only used in drivers/base/dd.c, so mark it static and remove the declaration in drivers/base/base.h. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20221030092255.872280-1-hch@lst.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/base.h')
-rw-r--r--drivers/base/base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h
index b902d1ecc247..7d4803c03d3e 100644
--- a/drivers/base/base.h
+++ b/drivers/base/base.h
@@ -146,7 +146,6 @@ static inline int driver_match_device(struct device_driver *drv,
{
return drv->bus->match ? drv->bus->match(dev, drv) : 1;
}
-extern bool driver_allows_async_probing(struct device_driver *drv);
extern int driver_add_groups(struct device_driver *drv,
const struct attribute_group **groups);