]> git.dujemihanovic.xyz Git - u-boot.git/commit
firmware: ti_sci: Include linux/err.h in ti_sci_protocol.h
authorSuman Anna <s-anna@ti.com>
Tue, 27 Jul 2021 23:24:39 +0000 (18:24 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 18:47:03 +0000 (14:47 -0400)
commit04662755000c7fb7d5716953a7899560863648e6
treea9286a7b5b1610f28362a29ada7ce7b836036edd
parent12ff1a8d23f96bed35dab548e31fd4ead5adca2b
firmware: ti_sci: Include linux/err.h in ti_sci_protocol.h

The common TI SCI header file uses some macros from err.h and these
get exercised when CONFIG_TI_SCI_PROTOCOL is not defined. Include
the linux/err.h header file in this header file directly rather
than relying on source files to include it to eliminate any
potential build errors.

While at this, reorder the existing header file include to the
beginning of the file.

Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
include/linux/soc/ti/ti_sci_protocol.h