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: 169314 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp6061441ilk; Sun, 21 Jul 2019 00:40:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0lznAi3wRSyZ2kZWyCcOIvCIArkpZN7UaWaDaubd6aP1ELsuCApwoj+j6oj5d1ArkF3f6 X-Received: by 2002:a17:90a:db44:: with SMTP id u4mr69755492pjx.52.1563694834553; Sun, 21 Jul 2019 00:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563694834; cv=none; d=google.com; s=arc-20160816; b=C4/GyASy63qqdFXmBeQhGqlX94rb95BhdlMpJWm09lHr62jV34YagbWMQCdqKYjJnJ Uao332Q2U6vi1VaXlsAGvW2mILdI1qHjLH3ZHm875NOnlVLV7VP5WpTylmzMxFaledbP ND+BCb2Fixbv869hBKgImgxfGHurEf6pTOmxqcYZhy3aWXjGQ2brjXO848vxZ85/5yz9 9lNrRnfabtyMyWBKAwodyB+QFDh9Z9PnB4Db9nvhCsdgynq1ZFztWZ31chbft5rS1VLM 3aSxH8OIACz3iWQT74OQMaJzlChWWuHHum/X+O4k4wvJSyfuQ6sWXfH4sn35Jgj+RPxZ joYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=W0RUjdCqSIfb8kJEGYHindDEe89Kcz2+NHbUKHueqzc=; b=Osp3QO/5XoU69CQmakXuoxbduiyO777bBBpX3w+zACotP0uXWleR37q6o4qmO10B32 FveGwzw+uhfNUYyr/3QGPxP8qA0MNmzHrj7LR+9yw7HgJIXI8mcCjP+BizyeTh15kx5a H9qYwG+YQzlzH/WSHPvkoqKWe0mOnBw8GPqzRwwT1t+YaeaeeQeVVg5GIyBJvzlq7TMS CkXrMOAzZXOqfnDKy2XW40thbgLGAsncB875lLdx1/t6T6IekkNaIsddMh9V7TzNd+7Y CrQzY34nfGu1wYVScM9XVYc6Xn9Q1Um9Hf+rEfEQ83XVf6QTe4PfscGLz52inyl9cHNc SwXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=XAJuBIGZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1si7066392pgp.105.2019.07.21.00.40.34; Sun, 21 Jul 2019 00:40:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=XAJuBIGZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726327AbfGUHkV (ORCPT + 29 others); Sun, 21 Jul 2019 03:40:21 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:16776 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725927AbfGUHkV (ORCPT ); Sun, 21 Jul 2019 03:40:21 -0400 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add header include guards just in case. Signed-off-by: Masahiro Yamada --- include/video/ili9320.h | 4 ++++ include/video/platform_lcd.h | 4 ++++ 2 files changed, 8 insertions(+) -- 2.17.1 Reviewed-by: Daniel Thompson 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 */