commit | 1fa8b34a6215b10dc8639d3585300f68f8a619fb | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Jun 28 13:36:42 2020 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Tue Jul 07 20:24:09 2020 +0100 |
tree | d380e7b3d15622b4c6ccd9a10be97f6c162f2032 | |
parent | 7a3e190f9ce38674fc68ddbbf5d70bd2f43e9bd9 [diff] |
iio:adc:max1118: Drop CONFIG_OF / of_match_ptr protections These just stop the driver being used with ACPI PRP0001 and we are trying to clear them out of IIO to avoid them getting copied into new drivers. Also add the mod_devicetable.h include as we are using struct of_device_id which is defined in there. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Akinobu Mita <akinobu.mita@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>