serial: 8250_mid: make module available only on X86
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Apr 2016 14:35:12 +0000 (17:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commit1fc969c759861ac491b6c93116aa497f774b00dc
treea3fd8e9c1db83c0faaea44d42a1e477a5c49c2f2
parentdea5ac3ae44f46a4ce3558cb4f48fa7b0a598d46
serial: 8250_mid: make module available only on X86

There is no reason to compile module on non-X86 platforms, though COMPILE_TEST
is provided for sake of what it does.

While here, set default to SERIAL_8250 that user doesn't need an explicit
option to be set and hide it from non-expert.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig