From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933864AbcIHM4F (ORCPT ); Thu, 8 Sep 2016 08:56:05 -0400 Received: from down.free-electrons.com ([37.187.137.238]:54452 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932338AbcIHM4D (ORCPT ); Thu, 8 Sep 2016 08:56:03 -0400 Date: Thu, 8 Sep 2016 14:56:01 +0200 From: Maxime Ripard To: Baoyou Xie Cc: airlied@linux.ie, wens@csie.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, xie.baoyou@zte.com.cn Subject: Re: [PATCH] drm/sun4i: add missing header dependencies Message-ID: <20160908125601.GQ8913@lukather> References: <1473332362-25497-1-git-send-email-baoyou.xie@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s3R87C3fwYeCSZ0b" Content-Disposition: inline In-Reply-To: <1473332362-25497-1-git-send-email-baoyou.xie@linaro.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --s3R87C3fwYeCSZ0b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 08, 2016 at 06:59:22PM +0800, Baoyou Xie wrote: > We get 5 warnings when building kernel with W=3D1: > drivers/gpu/drm/sun4i/sun4i_framebuffer.c:33:23: warning: no previous pro= totype for 'sun4i_framebuffer_init' [-Wmissing-prototypes] > drivers/gpu/drm/sun4i/sun4i_framebuffer.c:47:6: warning: no previous prot= otype for 'sun4i_framebuffer_free' [-Wmissing-prototypes] > drivers/gpu/drm/sun4i/sun4i_rgb.c:202:5: warning: no previous prototype f= or 'sun4i_rgb_init' [-Wmissing-prototypes] > drivers/gpu/drm/sun4i/sun4i_dotclock.c:151:5: warning: no previous protot= ype for 'sun4i_dclk_create' [-Wmissing-prototypes] > drivers/gpu/drm/sun4i/sun4i_dotclock.c:186:5: warning: no previous protot= ype for 'sun4i_dclk_free' [-Wmissing-prototypes] >=20 > In fact, these functions are declared in > drivers/gpu/drm/sun4i/sun4i_framebuffer.h, > drivers/gpu/drm/sun4i/sun4i_rgb.h, > drivers/gpu/drm/sun4i/sun4i_dotclock.h, > so this patch adds missing header dependencies. >=20 > Signed-off-by: Baoyou Xie Applied, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --s3R87C3fwYeCSZ0b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJX0V/hAAoJEBx+YmzsjxAgCBAQALgvR0ZPCnvlHN9uZX85ptVk MUT9RthQ52h+TjO0fgouUoGh5ytdiRUsIcTZFw4f4Q2WNVz3pxNllHk9QCVAox7r xC0WI8ciUfb/jAn7/SEzmSNCN5XDtmkclZ4RPKOcCF+WlmviaGpwlRk31a9fTMoa er4qCgBs5krYfnQofZO4/5vAfsYeJvcnLAgyGS6fIIdV7MqVXKuFEJdL3IJdRK66 xN9wHrEkNx24p9HZ3LGMc+9IiTUwLxoC/ZaC0UjK1hz329zlBci8WDXNxlWJOpza WYtVGcxE9Oj+5qaDyG5+sIbBoKFpRWSBayxgBijOeZuQP8PpKs7XFNFMCbgUlzut pn9wWDb9YG/fmy6aKF2VWijsVgGiYEt1fmO/Feaq5I8d+zeqjpcJyx6KoknUwmvf 9URUTf4qk/XeKGa7qBeNPHNONLRXyjYFyXLVFNSTlhx2YQnJi2LRMhtq4Kbfr8SG DCkop2G3OvxcDUADYg4k1IQLff9pTKn9+crLIZV5S/uRYpu7Fi+AcKVKDF/N1YDl MDQQQ617KcIz28Y71q0SBwSNrrK4YXHHZNgW1mMEbQ1g7K2ESvy+8cvdGHtDY9pL O6U4s5cVeocWeohkYGVXKtjktEgfDr7qVEe0JiKW27Gr0bwbviNC2zR6ipDiWeCP 7ftsTeS1g8f7W8XmWz2t =31Oy -----END PGP SIGNATURE----- --s3R87C3fwYeCSZ0b--