From 98c7863c36bdf20c07e38d8bea5261902b52f98d Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Thu, 30 Jul 2015 18:18:27 +0200 Subject: spi: xcomm: Export I2C module alias information The I2C core always reports the MODALIAS uevent as "i2c: Signed-off-by: Mark Brown --- drivers/spi/spi-xcomm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/spi/spi-xcomm.c') diff --git a/drivers/spi/spi-xcomm.c b/drivers/spi/spi-xcomm.c index d0561a8d9f16..3c28e24b10f5 100644 --- a/drivers/spi/spi-xcomm.c +++ b/drivers/spi/spi-xcomm.c @@ -237,6 +237,7 @@ static const struct i2c_device_id spi_xcomm_ids[] = { { "spi-xcomm" }, { }, }; +MODULE_DEVICE_TABLE(i2c, spi_xcomm_ids); static struct i2c_driver spi_xcomm_driver = { .driver = { -- cgit v1.2.3