From patchwork Fri Mar 3 14:13:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Genoud X-Patchwork-Id: 9602909 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AC2636016C for ; Fri, 3 Mar 2017 14:15:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DE9B285D5 for ; Fri, 3 Mar 2017 14:15:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9150B2862D; Fri, 3 Mar 2017 14:15:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2D4A2285D5 for ; Fri, 3 Mar 2017 14:15:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=B+EplAopB4XVASyotImdD8TvNfIPL7pDcJt8B0VIUIs=; b=cZ7 IBCBRbwZikw6B5TlL9qNvLE4fnYOO1Xckp6nUUNH7/Os1g7Sw2NPVMUcr4UVHqH+2KbgqTP2Wc1lg NeBGeBaVCP3sFn9NOKhZ7hl+yiI/pJ4+eTGy8sdSWlqkxyKyYvqxhtQYXXxn61qLs7Vu/zwnOteR3 6CUlOvBiqaBC6s26nVXkY7xqzmMHNv6krwQDqdofERVeyIYjiP+K6iQS+G3IxaPDlDbfo0upOgtII Si3dMOSHMf5oX26XtE8e+1G/qvl+2f5GMq/v26AENMxKsV2nHOzDx7lc59KChNNXxl5dqyPEDqJwr B0yhHwlyuMNkd9lOyyebV7AsRPNduqg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cjnzD-0004qV-Ub; Fri, 03 Mar 2017 14:15:11 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cjnyp-0004VA-AD for linux-arm-kernel@lists.infradead.org; Fri, 03 Mar 2017 14:14:48 +0000 Received: by mail-wm0-x242.google.com with SMTP id v190so3340473wme.3 for ; Fri, 03 Mar 2017 06:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=p32434Reln5TZjgd7xAlD9lBIOmQMJVpjyb3bu3Jolg=; b=WtcIy5JNGmp6G4mhz98EIq0dSt2649yplo+gutf7ICGLGGPcn5PFzd2hwawjnfN0sk 2bg1iQV+UoH2WY6Y18dMtHc2csJgwXcDbCbU+rwwWW3SCdT22dxQdnGcmX/ecHvkrDlP I+PkGzy5ppVCTdQkEH2U+qmGcOQ7StX9N8wbQA5x8mWRqOR9nXfPYGdBGgQhGCyuxVld wRs8h48AtGUibs/PwL7oKlG0JZ6mlIrDcT2I45+FTPWl5kyiRp8TN1NRysA+PUWmeqko PCJetYdwkZpi7LXjAEBbPTZi1kppq8moIiFFDwp4d7ZwqnXroj9ogaGV6qNXHltq6CAj ft7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=p32434Reln5TZjgd7xAlD9lBIOmQMJVpjyb3bu3Jolg=; b=M0AbnRUfzgGvrGwtISRB7M8jvU6dap8bzMyw1CoVHGyk3Du+8WkxAIKx45XOLGhpmI jKAZVzS7rPd6+HGNe7vzk9R0th/1Go5ASAy3rUDPRyAEzWqji7ZFMUknEe2o9hz2XJv9 LTPG9AzVRyzMBhV2lsqzNeJ8Mm2aMVne1r4j47oLXt33G0d7KG32mRcy+BImp+oikxRn 2VA34QZslrdEEB8/FyEc/3exndMAPOabjtMtMawwzf8++Gmq3/xrZxUovInLk6IYYOR5 I8gh8NY3tcAmg7Ospd1CWxH8bW1SKgNuL/1ZJZYmzSVIQAoQxv/VDTWu2FKv1r3i0iy5 6pGg== X-Gm-Message-State: AMke39kF23JbPPhDekn+ZOMgTp1ZJXRFnjSOYtOy6T35qv5TOGZ/wnf1h4Wbg7Xs6JmvWg== X-Received: by 10.28.96.130 with SMTP id u124mr3452630wmb.81.1488550465411; Fri, 03 Mar 2017 06:14:25 -0800 (PST) Received: from localhost ([46.227.18.67]) by smtp.gmail.com with ESMTPSA id g23sm1595568wme.8.2017.03.03.06.14.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Mar 2017 06:14:24 -0800 (PST) From: Richard Genoud To: Greg Kroah-Hartman 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170303_061447_515154_8F3793A0 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Genoud , linux-kernel@vger.kernel.org, Nicolas Ferre , linux-serial@vger.kernel.org, Joe Perches , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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