drivers/ata/libata-transport.c:88:17: warning: symbol 'ata_bus_type' was not declared. Should it be static? Reported-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: kernel test robot <lkp@xxxxxxxxx> --- drivers/ata/libata-transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c index e5ed5046b299e2..b9412d1fe3e083 100644 --- a/drivers/ata/libata-transport.c +++ b/drivers/ata/libata-transport.c @@ -85,7 +85,7 @@ struct ata_internal { static int ata_tdev_add(struct ata_device *dev); static void ata_tdev_delete(struct ata_device *dev); -struct bus_type ata_bus_type = { +static struct bus_type ata_bus_type = { .name = "ata", };