staging: iio: ad9834: add of_device_id table
authorJoão Victor Marques de Oliveira <joao.marques.oliveira@usp.br>
Sat, 18 May 2019 22:47:20 +0000 (19:47 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 26 May 2019 14:52:18 +0000 (15:52 +0100)
commit266233967c23b701930ff28a2227301fa623acef
tree76ad63eae53821e3cbe9d8aa52d37bf2204428c4
parent0bae068509717712071193e5465a9ecc3c20e135
staging: iio: ad9834: add of_device_id table

Add a of_device_id struct array of_match_table variable and subsequent
call to MODULE_DEVICE_TABLE macro to enable explicit device tree support.

Co-developed-by: Thiago L. A. Miller <tmiller@mochsl.org.br>
Signed-off-by: Thiago L. A. Miller <tmiller@mochsl.org.br>
Co-developed-by: Osvaldo M. Yasuda <omyasuda@yahoo.com.br>
Signed-off-by: Osvaldo M. Yasuda <omyasuda@yahoo.com.br>
Signed-off-by: João Victor Marques de Oliveira <joao.marques.oliveira@usp.br>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/frequency/ad9834.c