Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09ca71ca authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: at91_can: add MODULE_DEVICE_TABLE



This patch adds a MODULE_DEVICE_TABLE for the platform bindings, so that the
module can be loaded automatically by udev.

Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 4358a9dc
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1372,6 +1372,7 @@ static const struct platform_device_id at91_can_id_table[] = {
		/* sentinel */
		/* sentinel */
	}
	}
};
};
MODULE_DEVICE_TABLE(platform, at91_can_id_table);


static struct platform_driver at91_can_driver = {
static struct platform_driver at91_can_driver = {
	.probe = at91_can_probe,
	.probe = at91_can_probe,