mfd: mc13xxx-core: add MODULE_DEVICE_TABLE
PATCH 1/3 mfd: mc13xxx-core: add MODULE_DEVICE_TABLE
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
--- drivers/mfd/mc13xxx-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/mc13xxx-core.c +1 -0
@@ -811,6 +811,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,
Signature · 1 line
1.7.2
PATCH 2/3 mfd: pcf50633-core: add MODULE_DEVICE_TABLE
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 i2c:pcf50633 pcf50633
--- drivers/mfd/pcf50633-core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/pcf50633-core.c +1 -0
@@ -360,6 +360,7 @@ static struct i2c_device_id pcf50633_id_table[] = { {"pcf50633", 0x73}, {/* end of list */ } }; +MODULE_DEVICE_TABLE (i2c, pcf50633_id_table);static struct i2c_driver pcf50633_driver = { .driver = {
Signature · 1 line
1.7.2
Re: [PATCH 2/3] mfd: pcf50633-core: add MODULE_DEVICE_TABLE
Quoted 6 lines · Axel Lin
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 i2c:pcf50633 pcf50633Signed-off-by Axel Lin <[email protected]>
Signature · 4 lines
- Harald Welte <[email protected]> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
PATCH 3/3 mfd: vx855: add MODULE_DEVICE_TABLE
In reply to Axel LinThe device table is required to load modules based on modaliases. After adding the MODULE_DEVICE_TABLE, below entries will be added to modules.pcimap:
vx855 0x00001106 0x00008409 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
--- drivers/mfd/vx855.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/vx855.c +1 -0
@@ -122,6 +122,7 @@ static struct pci_device_id vx855_pci_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) }, { 0, } }; +MODULE_DEVICE_TABLE (pci, vx855_pci_tbl);static struct pci_driver vx855_pci_driver = { .name = "vx855",
Signature · 1 line
1.7.2
Re: [PATCH 3/3] mfd: vx855: add MODULE_DEVICE_TABLE
Hi Axel,
Quoted 6 lines · Axel Lin
The device table is required to load modules based on modaliases. After adding the
MODULE_DEVICE_TABLE, below entries will be added to modules.pcimap:
vx8550x000011060x000084090xffffffff0xffffffff0x000000000x000000000x0Signed-off-by Axel Lin <[email protected]>
Signature · 1 line
- Harald Welte <[email protected]> http://linux.via.com.tw/
Hello Axel,
Quoted 7 lines · Axel Lin
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:mc13892mc13xxx_core
alias spi:mc13783mc13xxx_coreSigned-off-by Axel Lin <[email protected]>
Thanks
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
Hi Axel,
Quoted 5 lines · Axel Lin
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:mc13892mc13xxx_core
alias spi:mc13783mc13xxx_core
Thanks, all 3 patches applied.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/