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: 11051013 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 ACEFC13A4 for ; Sun, 21 Jul 2019 07:50:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88EE628737 for ; Sun, 21 Jul 2019 07:50:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 646992873E; Sun, 21 Jul 2019 07:50:00 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B553428737 for ; Sun, 21 Jul 2019 07:49:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726129AbfGUHt7 (ORCPT ); Sun, 21 Jul 2019 03:49:59 -0400 Received: from condef-07.nifty.com ([202.248.20.72]:52395 "EHLO condef-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbfGUHt7 (ORCPT ); Sun, 21 Jul 2019 03:49:59 -0400 X-Greylist: delayed 384 seconds by postgrey-1.27 at vger.kernel.org; Sun, 21 Jul 2019 03:49:57 EDT Received: from conuserg-09.nifty.com ([10.126.8.72])by condef-07.nifty.com with ESMTP id x6L7eL9d019340 for ; Sun, 21 Jul 2019 16:40:21 +0900 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 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-Nifty-SrcIP: [126.26.94.249] From: Masahiro Yamada To: Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@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 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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 */