From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Subject: [PATCH 0/4] serial: earlycon: keep earlycon symbols for non-module and driver clean-ups Date: Mon, 6 Jun 2016 18:40:59 +0900 Message-ID: <1465206063-1018-1-git-send-email-yamada.masahiro@socionext.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Rob Herring , Andy Shevchenko , Peter Hurley , Paul Burton , Paul Gortmaker , Greg Kroah-Hartman , Mathieu OTHACEHE , linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Anton Wuerfel , Scott Wood , Masahiro Yamada , Ricardo Ribalda Delgado , Heikki Krogerus , Arnd Bergmann , Jiri Slaby , Matthias Brugger , Martin Sperl , Matt Redfearn , Mans Rullgard , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-serial@vger.kernel.org 1/4: keep earlycon symbols only when CONFIG_SERIAL_EARLYCON is defined and the driver is built-in. 2/4 thru 4/4: driver clean-ups. (partially reverts build fixes by Arnd Bergmann) Masahiro Yamada (4): earlycon: mark earlycon code as __used iif the caller is built-in serial: 8250_uniphier: drop !defined(MODULE) conditional serial: 8250_mtk: drop !defined(MODULE) conditional serial: 8250_ingenic: drop #if conditional surrounding earlycon code drivers/tty/serial/8250/8250_ingenic.c | 2 -- drivers/tty/serial/8250/8250_mtk.c | 2 +- drivers/tty/serial/8250/8250_uniphier.c | 2 +- drivers/tty/serial/8250/Kconfig | 2 +- include/linux/serial_core.h | 8 +++++++- 5 files changed, 10 insertions(+), 6 deletions(-) -- 1.9.1