mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 07:13:34 +00:00
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:
parent
3123109284
commit
c049b4b376
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue