diff options
author | Matthias Kaehlcke <[email protected]> | 2017-10-09 18:26:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-10-20 13:57:37 +0200 |
commit | dd076cffb8cd675a8973fc9b6cea0c04be6f0111 (patch) | |
tree | 42dec3df895d11dc1f0ea160c588135e84124850 /lib/mpi/mpi-cmp.c | |
parent | 6e605a01501b20ba8ace196536899195c8d296f5 (diff) |
serial: sh-sci: Fix init data attribute for struct 'port_cfg'
The __init attribute is meant to mark functions, use __initdata instead
for the data structure.
This fixes the following error when building with clang:
drivers/tty/serial/sh-sci.c:3247:15: error: '__section__' attribute only
applies to functions, methods, properties, and global variables
static struct __init plat_sci_port port_cfg;
Signed-off-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions