diff options
| author | Darren Hart <dvhart@linux.intel.com> | 2013-07-29 09:58:14 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-29 12:47:37 -0700 |
| commit | 0a09ae98eade956bbc681cb905584effe4a1ed95 (patch) | |
| tree | e215380a6d2563eb6b086490fac740920c84a6bf /drivers/tty/serial/sccnxp.c | |
| parent | e06922aa836f098c4893218a1c656ce7d73a3b6a (diff) | |
serial: pch_uart: Remove __initdata annotation from dmi_table
The dmi_table is best accessed from the probe function, which is not
an __init function. Drop the __initdata annotation from the dmi_table
to avoid the section mismatch compiler warnings:
WARNING: drivers/tty/serial/pch_uart.o(.text+0x4871): Section mismatch
in reference from the function pch_uart_init_port() to the variable
.init.data:pch_uart_dmi_table
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
