diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-11-16 07:53:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-27 00:48:04 (GMT) |
commit | 55e4390cb04e8b0fbae8983c3494c9e24132db1b (patch) | |
tree | 699e0c3dd2f78b6a3c1766ebd7e90b4fbae7edff /drivers/staging/iio/accel/sca3000_core.c | |
parent | 275de9f7a8db332dfbf100bc2c75940070361bc2 (diff) | |
download | linux-55e4390cb04e8b0fbae8983c3494c9e24132db1b.tar.xz |
staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS
Quite a few iio drivers provide no MODULE_DEVICE_TABLE or MODULE_ALIAS or only
provide a MODULE_ALIAS while they have support for multiple device ids. This
prevents auto module loading from working correctly.
This patch fixes it by adding the missing MODULE_DEVICE_TABLEs and
MODULE_ALIAS'.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/accel/sca3000_core.c')
-rw-r--r-- | drivers/staging/iio/accel/sca3000_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c index 021a08f..94bfe05 100644 --- a/drivers/staging/iio/accel/sca3000_core.c +++ b/drivers/staging/iio/accel/sca3000_core.c @@ -1241,6 +1241,7 @@ static const struct spi_device_id sca3000_id[] = { {"sca3000_e05", e05}, {} }; +MODULE_DEVICE_TABLE(spi, sca3000_id); static struct spi_driver sca3000_driver = { .driver = { |