From patchwork Wed Jun 26 13:34:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2784601 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 095239F968 for ; Wed, 26 Jun 2013 13:35:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52C4D204AD for ; Wed, 26 Jun 2013 13:35:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7E6820498 for ; Wed, 26 Jun 2013 13:35:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751501Ab3FZNfl (ORCPT ); Wed, 26 Jun 2013 09:35:41 -0400 Received: from co1ehsobe005.messaging.microsoft.com ([216.32.180.188]:4138 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751355Ab3FZNfk (ORCPT ); Wed, 26 Jun 2013 09:35:40 -0400 Received: from mail86-co1-R.bigfish.com (10.243.78.244) by CO1EHSOBE041.bigfish.com (10.243.66.106) with Microsoft SMTP Server id 14.1.225.23; Wed, 26 Jun 2013 13:35:40 +0000 Received: from mail86-co1 (localhost [127.0.0.1]) by mail86-co1-R.bigfish.com (Postfix) with ESMTP id 3F1D93403B8; Wed, 26 Jun 2013 13:35:40 +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(zzzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1155h) Received: from mail86-co1 (localhost.localdomain [127.0.0.1]) by mail86-co1 (MessageSwitch) id 13722537389826_30607; Wed, 26 Jun 2013 13:35:38 +0000 (UTC) Received: from CO1EHSMHS008.bigfish.com (unknown [10.243.78.234]) by mail86-co1.bigfish.com (Postfix) with ESMTP id F39E474004C; Wed, 26 Jun 2013 13:35:37 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS008.bigfish.com (10.243.66.18) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 26 Jun 2013 13:35:37 +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; Wed, 26 Jun 2013 13:35:36 +0000 Received: from fabio-OptiPlex-7010.am.freescale.net ([10.29.244.86]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r5QDZXjW002743; Wed, 26 Jun 2013 06:35:34 -0700 From: Fabio Estevam To: CC: , , Fabio Estevam Subject: [PATCH v2] video: of_display_timing.h: Declare 'display_timing' Date: Wed, 26 Jun 2013 10:34:25 -0300 Message-ID: <1372253665-23148-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.8.1.2 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=ham 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 Commit ffa3fd21de ("videomode: implement public of_get_display_timing()") causes the following build warning: 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] Declare 'display_timing' to avoid the build warning. Signed-off-by: Fabio Estevam --- Changes since v1: - Add 'struct display_timing;' instead of '#include