i2c: eg20t: Load module automatically if ID matches
[ Upstream commit 5f90786b31fb7d1e199a8999d46c4e3aea672e11 ] The driver can't be loaded automatically because it misses module alias to be provided. Add corresponding MODULE_DEVICE_TABLE() call to the driver. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f8bc4ff1c4
commit
206c9c97c2
@@ -188,6 +188,7 @@ static const struct pci_device_id pch_pcidev_id[] = {
|
|||||||
{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7831_I2C), 1, },
|
{ PCI_VDEVICE(ROHM, PCI_DEVICE_ID_ML7831_I2C), 1, },
|
||||||
{0,}
|
{0,}
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(pci, pch_pcidev_id);
|
||||||
|
|
||||||
static irqreturn_t pch_i2c_handler(int irq, void *pData);
|
static irqreturn_t pch_i2c_handler(int irq, void *pData);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user