[PATCH 0/2] net: encx24j600: Fix SPI driver module autoload

From: Javier Martinez Canillas
Date: Fri Oct 30 2015 - 08:49:49 EST


Hello,

Recently I've been trying to fix module autoloading for all SPI drivers and
found that the encx24j600 driver does not fill module alias information due
missing a MODULE_DEVICE_TABLE() so module autload won't work and the driver
Kconfig symbol is tristate which means the driver can be built as a module.

But also the SPI id table is not correctly defined so this series fixes both
issues.

The patches have been applied on top of the next-next tree master branch:

git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master

Best regards,
Javier


Javier Martinez Canillas (2):
net: encx24j600: Fix SPI id table definition
net: encx24j600: Export missing SPI module alias information

drivers/net/ethernet/microchip/encx24j600.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

--
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/