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

Commit 90b15520 authored by Alexander Aring's avatar Alexander Aring Committed by David S. Miller
Browse files

at86rf230: add at86rf230_device_id table



This patch adds a at86rf230_device_id table to offers various module
aliases.

Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Reported-by: default avatarVarka Bhadram <varkabhadram@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1086b4f6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1226,7 +1226,17 @@ static const struct of_device_id at86rf230_of_match[] = {
MODULE_DEVICE_TABLE(of, at86rf230_of_match);
#endif

static const struct spi_device_id at86rf230_device_id[] = {
	{ .name = "at86rf230", },
	{ .name = "at86rf231", },
	{ .name = "at86rf233", },
	{ .name = "at86rf212", },
	{ },
};
MODULE_DEVICE_TABLE(spi, at86rf230_device_id);

static struct spi_driver at86rf230_driver = {
	.id_table = at86rf230_device_id,
	.driver = {
		.of_match_table = of_match_ptr(at86rf230_of_match),
		.name	= "at86rf230",