From patchwork Thu Jun 27 12:34:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 2792281 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 047B79F245 for ; Thu, 27 Jun 2013 12:35:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D34602027C for ; Thu, 27 Jun 2013 12:35:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA78B20272 for ; Thu, 27 Jun 2013 12:35:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752168Ab3F0MfS (ORCPT ); Thu, 27 Jun 2013 08:35:18 -0400 Received: from ch1ehsobe002.messaging.microsoft.com ([216.32.181.182]:24793 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819Ab3F0MfQ convert rfc822-to-8bit (ORCPT ); Thu, 27 Jun 2013 08:35:16 -0400 Received: from mail29-ch1-R.bigfish.com (10.43.68.237) by CH1EHSOBE018.bigfish.com (10.43.70.68) with Microsoft SMTP Server id 14.1.225.23; Thu, 27 Jun 2013 12:35:15 +0000 Received: from mail29-ch1 (localhost [127.0.0.1]) by mail29-ch1-R.bigfish.com (Postfix) with ESMTP id 89E92600E4; Thu, 27 Jun 2013 12:35:15 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzc89bhzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bh8275dhz2dh2a8h668h839h93fhd24he5bhf0ah107ah1288h12a5h12a9h12bdh137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e1dh1e23h1155h) Received: from mail29-ch1 (localhost.localdomain [127.0.0.1]) by mail29-ch1 (MessageSwitch) id 1372336513154070_25988; Thu, 27 Jun 2013 12:35:13 +0000 (UTC) Received: from CH1EHSMHS028.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.252]) by mail29-ch1.bigfish.com (Postfix) with ESMTP id 1A3D31C0042; Thu, 27 Jun 2013 12:35:13 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS028.bigfish.com (10.43.70.28) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 27 Jun 2013 12:35:08 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.328.11; Thu, 27 Jun 2013 12:35:07 +0000 Received: from debian ([10.214.137.29]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with SMTP id r5RCYwKO018031; Thu, 27 Jun 2013 05:35:05 -0700 Received: by debian (sSMTP sendmail emulation); Thu, 27 Jun 2013 14:34:58 +0200 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= To: , , CC: =?UTF-8?q?Vincent=20Stehl=C3=A9?= , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Subject: [PATCH linux-next] videomode: fix compilation warning Date: Thu, 27 Jun 2013 14:34:57 +0200 Message-ID: <1372336497-2005-1-git-send-email-vincent.stehle@freescale.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing include file to fix the following compilation warning: In file included from drivers/video/wm8505fb.c:35:0: include/video/of_display_timing.h:18:10: warning: ‘struct display_timing’ declared inside parameter list [enabled by default] include/video/of_display_timing.h:18:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Signed-off-by: Vincent Stehlé Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: trivial@kernel.org --- Hi, This warning happens on linux-next tag next-20130627, for ARM multi_v7_defconfig. Best regards, V. include/video/of_display_timing.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/video/of_display_timing.h b/include/video/of_display_timing.h index 6562ad9..d43be98 100644 --- a/include/video/of_display_timing.h +++ b/include/video/of_display_timing.h @@ -9,6 +9,8 @@ #ifndef __LINUX_OF_DISPLAY_TIMING_H #define __LINUX_OF_DISPLAY_TIMING_H +#include