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

Commit 6991ec25 authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz
Browse files

mfd: Add MODULE_DEVICE_TABLE to mc13xxx-core



The device table is required to load modules based on modaliases.
After adding the MODULE_DEVICE_TABLE, below entries will be added to
modules.alias:
alias spi:mc13892 mc13xxx_core
alias spi:mc13783 mc13xxx_core

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 1310e6d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -803,6 +803,7 @@ static const struct spi_device_id mc13xxx_device_id[] = {
		/* sentinel */
	}
};
MODULE_DEVICE_TABLE(spi, mc13xxx_device_id);

static struct spi_driver mc13xxx_driver = {
	.id_table = mc13xxx_device_id,