From patchwork Sun Jul 21 07:39:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11051699 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 041A56C5 for ; Mon, 22 Jul 2019 07:08:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E220728495 for ; Mon, 22 Jul 2019 07:08:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D69BC2849B; Mon, 22 Jul 2019 07:08:31 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0707C28495 for ; Mon, 22 Jul 2019 07:08:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 43CDE89B51; Mon, 22 Jul 2019 07:08:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB16B89B78 for ; Sun, 21 Jul 2019 07:40:15 +0000 (UTC) Received: from grover.flets-west.jp (softbank126026094249.bbtec.net [126.26.94.249]) (authenticated) by conuserg-09.nifty.com with ESMTP id x6L7did6032459; Sun, 21 Jul 2019 16:39:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x6L7did6032459 X-Nifty-SrcIP: [126.26.94.249] From: Masahiro Yamada To: Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: [PATCH] backlight: add include guards to platform_lcd.h and ili9320.h Date: Sun, 21 Jul 2019 16:39:40 +0900 Message-Id: <20190721073940.11422-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Mon, 22 Jul 2019 07:08:15 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1563694785; bh=W0RUjdCqSIfb8kJEGYHindDEe89Kcz2+NHbUKHueqzc=; h=From:To:Cc:Subject:Date:From; b=XAJuBIGZ21ReoDh6CZlT/2Sh/YRKG/vB22kdveU1dNeOC1kP38EjuChgisNKIVrOw nP0mTnaux9Vc7IwAb79qiFVDk6PSB9LrZokQqd9jw6smAresbU8xv06eVzbpSDLc4S fehvQyXWPn3fdcTWAshQ32TgF7FyBabdgfbtVSK4wsZeT0W712INelHMpqzzhyDMQW lWP+YKTKNarlwoj24ACDAgVTGUrpd/qvNJ3J+aOVkleLJL5UeRp+lTx1Bt1nka7nvg mveHMD/kMimOPZ/0BR+Z12zrY3GEf96L2rxL4P8SW3v6Tz+J2O0ZQz5umGzJRXAmHR +hneKraGoJl2g== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masahiro Yamada , linux-kernel@vger.kernel.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add header include guards just in case. Signed-off-by: Masahiro Yamada Reviewed-by: Daniel Thompson --- include/video/ili9320.h | 4 ++++ include/video/platform_lcd.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/video/ili9320.h b/include/video/ili9320.h index 62f424f0bc52..b76a0b8f16fc 100644 --- a/include/video/ili9320.h +++ b/include/video/ili9320.h @@ -9,6 +9,9 @@ * http://armlinux.simtec.co.uk/ */ +#ifndef _VIDEO_ILI9320_H +#define _VIDEO_ILI9320_H + #define ILI9320_REG(x) (x) #define ILI9320_INDEX ILI9320_REG(0x00) @@ -196,3 +199,4 @@ struct ili9320_platdata { unsigned short interface6; }; +#endif /* _VIDEO_ILI9320_H */ diff --git a/include/video/platform_lcd.h b/include/video/platform_lcd.h index 6a95184a28c1..c68f3f45b5c1 100644 --- a/include/video/platform_lcd.h +++ b/include/video/platform_lcd.h @@ -7,6 +7,9 @@ * Generic platform-device LCD power control interface. */ +#ifndef _VIDEO_PLATFORM_LCD_H +#define _VIDEO_PLATFORM_LCD_H + struct plat_lcd_data; struct fb_info; @@ -16,3 +19,4 @@ struct plat_lcd_data { int (*match_fb)(struct plat_lcd_data *, struct fb_info *); }; +#endif /* _VIDEO_PLATFORM_LCD_H */