driver core: mark driver_allows_async_probing static
authorChristoph Hellwig <hch@lst.de>
Sun, 30 Oct 2022 09:22:55 +0000 (10:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 17:31:04 +0000 (18:31 +0100)
commit189a87f8ef8ceed16b2a230dc0ce65117068ac30
treead47713f3350738ef2a4078a1cc9f28f9bde22e3
parent0f0605d550ed986279030d452c7ed10df34da449
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>
drivers/base/base.h
drivers/base/dd.c