staging: iio: adis16240: add device to module device table
authorLucas Oshiro <lucasseikioshiro@gmail.com>
Sat, 18 May 2019 21:44:34 +0000 (18:44 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 26 May 2019 17:48:14 +0000 (18:48 +0100)
commited83144e6d71bc0ac56805388bdd04949beb1be7
tree35f64adaf000b4667a6ca24687994bdf2567f41c
parent82e1506339bd899e41e7d86b008a341426d85f27
staging: iio: adis16240: add device to module device table

Add a of_device_id struct and MODULE_DEVICE_TABLE call, in order to add
device-tree support for this driver.

Signed-off-by: Lucas Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Rodrigo Ribeiro <rodrigorsdc@gmail.com>
Co-developed-by: Rodrigo Ribeiro <rodrigorsdc@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/accel/adis16240.c