From patchwork Thu Feb 9 15:25:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9565857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B6E99601E9 for ; Fri, 10 Feb 2017 01:43:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A965B2853F for ; Fri, 10 Feb 2017 01:43:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E09128542; Fri, 10 Feb 2017 01:43:46 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 C17ED2853F for ; Fri, 10 Feb 2017 01:43:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E0776EC13; Fri, 10 Feb 2017 01:41:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7DC016EB0E for ; Thu, 9 Feb 2017 15:25:55 +0000 (UTC) Received: by mail-pf0-x244.google.com with SMTP id 19so423308pfo.3 for ; Thu, 09 Feb 2017 07:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4tfZxU/kyj7J2gGoJVjAGQ8FVgv1lIm+jmrkSFyJW7Y=; b=W4PZX2DMm7mSoOZp0xTzBxk1APqyKE/hZwClSbDszzFq0brWW8zADLWmHHswGb03vJ CT56g3vLfHn/Mrex8J1GxgzfDIo07Mh4NP/XLbkvwWmj93iwIpTQigJ32udSkcRcPmsu DJjJC3/ZjeI1Z5NuLZANt+DLY2wZ3TSQ7wyqDKog5VEJaLNK2UZlHYvOZu1ugVbXz7RN ZovQFIbpONQck9AlPc2GV8k22y+KzPwJQCYrBzfqP8c1EjEDy3mEMF1OG2JT1eaIpRsH 1wwJxAYe642PbGSnMxmEr1sqLntnEH6tJjpOnarhV5eFRGByowpGFS64WcvFXRZIeIrA /L8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4tfZxU/kyj7J2gGoJVjAGQ8FVgv1lIm+jmrkSFyJW7Y=; b=c0/Zs+qsvQDKJNtO+Q3sO52iVnKZ7sZPl30drkLXx869qQr3oA/oghFtwKMqJ8cKAh Obu8VxlZk+wnc9PsGd6eHtPPd0j7Mg3ajkUFpls+rI78QGuNGAr1JppQ5xho0SYcYB5E qqpaGmFEWbhcI9NPPFPgEa/1aWMlJJT1BqPeuYY7/GVlOYLXA3wX7t+XyRRd93f5uqUm mtMBMugw75WmW35CN3KLlH/ZrtUtqhlPGA9ersBMGtmQur7pKgOHJKOtvzwzwOoQ9p8I J8NgJ9XkPVSvmcDKQ/uWH1nYdFHDLsmq6cm9fB1FJ4oiQlxZGng5C/jDnuALIGf7leUi Hqvw== X-Gm-Message-State: AMke39mLy2J2u1oruwSRzuD8fivJ+nliXcgp3eYwkQKqiXCdQDEJT45RpQxSs1OgYTPusg== X-Received: by 10.98.19.12 with SMTP id b12mr4292002pfj.150.1486653955096; Thu, 09 Feb 2017 07:25:55 -0800 (PST) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id y184sm29875647pfg.86.2017.02.09.07.25.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 07:25:54 -0800 (PST) From: Wei Yongjun To: Archit Taneja , David Airlie Subject: [PATCH -next] drm/bridge/tfp410: Make symbol tfp410_platform_driver static Date: Thu, 9 Feb 2017 15:25:49 +0000 Message-Id: <20170209152549.30711-1-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 10 Feb 2017 01:41:18 +0000 Cc: Wei Yongjun , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/gpu/drm/bridge/ti-tfp410.c:223:24: warning: symbol 'tfp410_platform_driver' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index b054ea3..b379d04 100644 --- a/drivers/gpu/drm/bridge/ti-tfp410.c +++ b/drivers/gpu/drm/bridge/ti-tfp410.c @@ -220,7 +220,7 @@ static const struct of_device_id tfp410_match[] = { }; MODULE_DEVICE_TABLE(of, tfp410_match); -struct platform_driver tfp410_platform_driver = { +static struct platform_driver tfp410_platform_driver = { .probe = tfp410_probe, .remove = tfp410_remove, .driver = {