drivers/intel/fsp2_0: Include stddef.h in soc_binding.h
commit861a4b88faa85d49758cb9a782bbd16c8d429c08
authorFurquan Shaikh <furquan@chromium.org>
Thu, 8 Dec 2016 04:34:32 +0000 (7 20:34 -0800)
committerFurquan Shaikh <furquan@google.com>
Sun, 11 Dec 2016 19:03:43 +0000 (11 20:03 +0100)
tree9ecb4e23dd8b9c11da01d1cf1dbfc68ee404cc99
parent885c289bba6554545ae21896a318f71e4ccb16a8
drivers/intel/fsp2_0: Include stddef.h in soc_binding.h

soc_binding.h includes FSP headers which define NULL macro. Because of
this, including stddef.h after soc_binding.h results in NULL being
re-defined. Thus, include stddef.h in soc_binding.h to avoid having
users include stddef.h along with soc_binding.h.

Change-Id: I600083c5d8f672518beaa1119f14f67728a433aa
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17773
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/drivers/intel/fsp2_0/include/fsp/soc_binding.h