]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/property.h: fix build issues with gcc-4.4.4
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Jan 2016 01:07:09 +0000 (02:07 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jan 2016 01:07:09 +0000 (02:07 +0100)
commita38a802b770c1731c928de3d73f030ef615cef2d
tree5a840ac067f9c2aea2a084b8334ea4c4ca13c14a
parentf5a42e480be0d8b05206cec89c998d77a70a56a9
include/linux/property.h: fix build issues with gcc-4.4.4

gcc-4.4.4 has problems with initialization of anonymous unions:

drivers/mfd/intel-lpss-acpi.c:30: error: unknown field 'value' specified in initializer

work around this by crafting the initializers in a manner which the
compiler can handle.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/property.h