From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752147AbdCCOqB (ORCPT ); Fri, 3 Mar 2017 09:46:01 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34089 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751365AbdCCOpt (ORCPT ); Fri, 3 Mar 2017 09:45:49 -0500 From: Richard Genoud To: Greg Kroah-Hartman Cc: Joe Perches , Nicolas Ferre , linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Genoud Subject: [PATCH 1/4] tty/serial: atmel: move atmel_serial header into driver directory Date: Fri, 3 Mar 2017 15:13:44 +0100 Message-Id: <20170303141344.14122-1-richard.genoud@gmail.com> X-Mailer: git-send-email 2.11.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org atmel_serial.h is only used by atmel_serial.c, so there's no need for it to lie in include/linux. Suggested-by: Joe Perches Signed-off-by: Richard Genoud --- MAINTAINERS | 2 +- drivers/tty/serial/atmel_serial.c | 2 +- {include/linux => drivers/tty/serial}/atmel_serial.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {include/linux => drivers/tty/serial}/atmel_serial.h (100%) diff --git a/MAINTAINERS b/MAINTAINERS index ad4f2ce991ca..d7b07cb23cbe 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8218,7 +8218,7 @@ MICROCHIP / ATMEL AT91 / AT32 SERIAL DRIVER M: Richard Genoud S: Maintained F: drivers/tty/serial/atmel_serial.c -F: include/linux/atmel_serial.h +F: drivers/tty/serial/atmel_serial.h MICROCHIP / ATMEL DMA DRIVER M: Ludovic Desroches diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index dcebb28ffbc4..ad6c2bdea481 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include @@ -71,6 +70,7 @@ #include #include "serial_mctrl_gpio.h" +#include "atmel_serial.h" static void atmel_start_rx(struct uart_port *port); static void atmel_stop_rx(struct uart_port *port); diff --git a/include/linux/atmel_serial.h b/drivers/tty/serial/atmel_serial.h similarity index 100% rename from include/linux/atmel_serial.h rename to drivers/tty/serial/atmel_serial.h