spi Re: #2 (Re: More modaliases + patchtool))

Dzianis Kahanovich
2010-09-17T13:37:44Z

[-- Attachment #1: Type: text/plain, Size: 8 bytes --]

...

[-- Attachment #2: mod-spi.patch --]
[-- Type: text/plain, Size: 492 bytes --]

Fix lost SPI modalias

Signed-off-by: Dzianis Kahanovich <mahatma@eu.by>

--- linux-2.6.36-rc4-git3/drivers/staging/iio/imu/adis16350_core.c 2010-09-17 12:30:31.000000000 +0300
+++ b/drivers/staging/iio/imu/adis16350_core.c 2010-09-17 12:39:01.312564201 +0300
@@ -724,6 +724,9 @@ static __init int adis16350_init(void)
{
return spi_register_driver(&adis16350_driver);
}
+
+MODULE_DEVICE_TABLE(spi, adis16350_id);
+
module_init(adis16350_init);

static __exit void adis16350_exit(void)