From patchwork Mon Jun 19 16:31:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9796761 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 94BAA6020B for ; Mon, 19 Jun 2017 16:31:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8276F26E56 for ; Mon, 19 Jun 2017 16:31:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76E0126E98; Mon, 19 Jun 2017 16:31:42 +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_SIGNED, DKIM_VALID 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 0E77826E56 for ; Mon, 19 Jun 2017 16:31:41 +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=oJkALcw6KVMdTgsYGdvYWZC5QyNEWsZqgmxSI51qp9A=; b=MHN SgGHmp4/cJ2b5YblsApDKoeVpCVqgZ/Z5gUgj97FgVs9ozPLRElrvKWdTnx/bby0Rv+O54kWKwTQ1 4Vnr8iZD3GhhX2Z243pV+zJQ7dpE0+68eNUH4IKgHaETGkvygjgssDbjyRidwu+mQtRsPwqEvGbE6 +gYrUMlZzHINyCyzEtmh1fPb/2IuyBuzU8cyWKQqyzgHauRsject2TUYj0FQe4Gt714jP7RYxWOP4 ibVt0iGLPx1qA0brzQCecEsZB0lsWizAmJbLcQSm/Iy1fdmXpHAXN6gGNcJC91hoejEhXxBWnELbz NXPZQJ9wkXslZxIMZ7JAKEopoknHzPQ==; 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 1dMzaW-0004Na-Op; Mon, 19 Jun 2017 16:31:40 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dMzaT-0004MD-12 for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2017 16:31:38 +0000 Received: from kozik-lap.dzcmts001-cpe-001.datazug.ch (pub082136089155.dh-hfc.datazug.ch [82.136.89.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CFD4C239B8; Mon, 19 Jun 2017 16:31:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CFD4C239B8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzk@kernel.org From: Krzysztof Kozlowski To: Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , David Airlie , Kukjin Kim , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: [PATCH 1/2] drm/exynos/decon: Add include guard to the Exynos7 header Date: Mon, 19 Jun 2017 18:31:09 +0200 Message-Id: <20170619163110.28173-1-krzk@kernel.org> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170619_093137_125972_9BF5849C X-CRM114-Status: GOOD ( 10.86 ) 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: Marek Szyprowski 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 Although header is included only once but still having an include guard is a good practice. To avoid confusion, add SoC prefix to existing Exynos5433 header include guard. Signed-off-by: Krzysztof Kozlowski --- include/video/exynos5433_decon.h | 6 +++--- include/video/exynos7_decon.h | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/include/video/exynos5433_decon.h b/include/video/exynos5433_decon.h index 78957c9626f5..b30362da5692 100644 --- a/include/video/exynos5433_decon.h +++ b/include/video/exynos5433_decon.h @@ -6,8 +6,8 @@ * published by the Free Software Foundationr */ -#ifndef EXYNOS_REGS_DECON_H -#define EXYNOS_REGS_DECON_H +#ifndef EXYNOS5433_REGS_DECON_H +#define EXYNOS5433_REGS_DECON_H /* Exynos543X DECON */ #define DECON_VIDCON0 0x0000 @@ -206,4 +206,4 @@ #define CRCCTRL_CRCEN (0x1 << 0) #define CRCCTRL_MASK (0x7) -#endif /* EXYNOS_REGS_DECON_H */ +#endif /* EXYNOS5433_REGS_DECON_H */ diff --git a/include/video/exynos7_decon.h b/include/video/exynos7_decon.h index a62b11b613f6..d28829659a17 100644 --- a/include/video/exynos7_decon.h +++ b/include/video/exynos7_decon.h @@ -9,6 +9,9 @@ * option) any later version. */ +#ifndef EXYNOS7_REGS_DECON_H +#define EXYNOS7_REGS_DECON_H + /* VIDCON0 */ #define VIDCON0 0x00 @@ -347,3 +350,5 @@ #define DECON_UPDATE_SLAVE_SYNC (1 << 4) #define DECON_UPDATE_STANDALONE_F (1 << 0) + +#endif /* EXYNOS7_REGS_DECON_H */