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>
This commit is contained in:
Uwe Kleine-König 2022-04-20 08:58:32 +02:00 committed by Lorenzo Pieralisi
parent 3123109284
commit c049b4b376

View file

@ -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,