diff options
author | 2015-09-11 11:38:03 +0000 | |
---|---|---|
committer | 2015-10-04 17:47:49 +0100 | |
commit | ed4492fa91265ff7ffc69a4212533ebe3e7cbe18 (patch) | |
tree | c60cf6d90af9d32d18c2407f4f9784e4887664b1 /include/linux/platform_data | |
parent | serial: altera_uart: Use of_property_read_u32 instead of open-coding it (diff) | |
download | linux-dev-ed4492fa91265ff7ffc69a4212533ebe3e7cbe18.tar.xz linux-dev-ed4492fa91265ff7ffc69a4212533ebe3e7cbe18.zip |
serial: of-serial: compile correctly when 8250 driver is compiled as module
If the 8250 driver is compiled as a module then
CONFIG_SERIAL_8250_MODULE is defined and not CONFIG_SERIAL_8250.
This results in all those code sections that require CONFIG_SERIAL_8250
to be defined are not included.
This patch fixes the situation and allows 8250 and of-serial to
be compiled as a module with the same functionality as when
compiled into the kernel.
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions