summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2022-04-20 08:58:32 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2022-04-25 14:00:49 +0100
commitc049b4b37685ff5b179a7e062b919c31eb406214 (patch)
tree4936e6f5277fbea5201d63e22d986c95a21ef226 /drivers/pci
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-stable-c049b4b37685ff5b179a7e062b919c31eb406214.tar.gz
linux-stable-c049b4b37685ff5b179a7e062b919c31eb406214.tar.bz2
linux-stable-c049b4b37685ff5b179a7e062b919c31eb406214.zip
PCI: microchip: Add a missing semicolon
If the driver is configured as a module (after allowing this by changing PCIE_MICROCHIP_HOST from bool to tristate) the missing semicolon makes the compiler very unhappy. While there isn't a real problem as MODULE_DEVICE_TABLE always evaluates to nothing for a built-in driver, do it right for consistency with other drivers. Link: https://lore.kernel.org/r/20220420065832.14173-1-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Daire McNamara <daire.mcnamara@microchip.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/pcie-microchip-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pcie-microchip-host.c b/drivers/pci/controller/pcie-microchip-host.c
index 29d8e81e4181..4b1e130f88a3 100644
--- a/drivers/pci/controller/pcie-microchip-host.c
+++ b/drivers/pci/controller/pcie-microchip-host.c
@@ -1115,7 +1115,7 @@ static const struct of_device_id mc_pcie_of_match[] = {
{},
};
-MODULE_DEVICE_TABLE(of, mc_pcie_of_match)
+MODULE_DEVICE_TABLE(of, mc_pcie_of_match);
static struct platform_driver mc_pcie_driver = {
.probe = pci_host_common_probe,