From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757352AbcIHM6i (ORCPT ); Thu, 8 Sep 2016 08:58:38 -0400 Received: from arroyo.ext.ti.com ([198.47.19.12]:37672 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbcIHM6h (ORCPT ); Thu, 8 Sep 2016 08:58:37 -0400 Subject: Re: [PATCH] drm/tilcdc: add missing header dependencies To: Baoyou Xie , , References: <1473332936-25731-1-git-send-email-baoyou.xie@linaro.org> CC: , , , From: Jyri Sarha Message-ID: <5f679a13-2221-af54-3e80-e8cc8d26c7d1@ti.com> Date: Thu, 8 Sep 2016 15:57:54 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1473332936-25731-1-git-send-email-baoyou.xie@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/08/16 14:08, Baoyou Xie wrote: > We get 4 warnings when building kernel with W=1: > drivers/gpu/drm/tilcdc/tilcdc_tfp410.c:393:12: warning: no previous prototype for 'tilcdc_tfp410_init' [-Wmissing-prototypes] > drivers/gpu/drm/tilcdc/tilcdc_tfp410.c:398:13: warning: no previous prototype for 'tilcdc_tfp410_fini' [-Wmissing-prototypes] > drivers/gpu/drm/tilcdc/tilcdc_panel.c:443:12: warning: no previous prototype for 'tilcdc_panel_init' [-Wmissing-prototypes] > drivers/gpu/drm/tilcdc/tilcdc_panel.c:448:13: warning: no previous prototype for 'tilcdc_panel_fini' [-Wmissing-prototypes] > > In fact, these functions are declared in > drivers/gpu/drm/tilcdc/tilcdc_tfp410.h, > drivers/gpu/drm/tilcdc/tilcdc_panel.h, > so this patch adds missing header dependencies. > > Signed-off-by: Baoyou Xie I'll pick this up. Thanks, Jyri > --- > drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 + > drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c > index ff7774c..979394d 100644 > --- a/drivers/gpu/drm/tilcdc/tilcdc_panel.c > +++ b/drivers/gpu/drm/tilcdc/tilcdc_panel.c > @@ -24,6 +24,7 @@ > #include