OSDN Git Service

driver core: Make driver_deferred_probe_timeout a static variable
authorJavier Martinez Canillas <javierm@redhat.com>
Tue, 27 Dec 2022 23:21:52 +0000 (00:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jan 2023 15:06:40 +0000 (16:06 +0100)
commit504fa212d7030fb1c042290dc2eb92b21515573a
tree3d3f9ff6f87370a86ed37201c91aaafdd562c66a
parentf6837f34a34973ef6600c08195ed300e24e97317
driver core: Make driver_deferred_probe_timeout a static variable

It is not used outside of its compilation unit, so there's no need to
export this variable.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/r/20221227232152.3094584-1-javierm@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c
include/linux/device/driver.h