summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-01-22 17:01:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-25 13:44:20 +0100
commitc505cbd45f6e9c539d57dd171d95ec7e5e9f9cd0 (patch)
treebeb3cf1e971cb806098aade74021e538b9f2a365 /drivers/iio/adc/Kconfig
parentdevice property: Reuse property_entry_free_data() (diff)
downloadlinux-c505cbd45f6e9c539d57dd171d95ec7e5e9f9cd0.tar.xz
linux-c505cbd45f6e9c539d57dd171d95ec7e5e9f9cd0.zip
device property: Define type of PROPERTY_ENRTY_*() macros
Some of the drivers may use the macro at runtime flow, like struct property_entry p[10]; ... p[index++] = PROPERTY_ENTRY_U8("u8 property", u8_data); In that case and absence of the data type compiler fails the build: drivers/char/ipmi/ipmi_dmi.c:79:29: error: Expected ; at end of statement drivers/char/ipmi/ipmi_dmi.c:79:29: error: got { Acked-by: Corey Minyard <cminyard@mvista.com> Cc: Corey Minyard <minyard@acm.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
0 files changed, 0 insertions, 0 deletions