Re: [PATCH] fbdev: matrox: hide unused 'hotplug' variable

From: Arnd Bergmann
Date: Wed Aug 02 2017 - 07:45:14 EST


On Wed, Aug 2, 2017 at 1:14 PM, Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:
> Hi Arnd,
>
> With is change we can get below error. If MODULE is define.
>
> drivers/video/fbdev/matrox/matroxfb_base.c: In function âinitMatrox2â:
> drivers/video/fbdev/matrox/matroxfb_base.c:1799:23: error: âhotplugâ
> undeclared (first use in this function)
> minfo->fbcon.flags = hotplug ? FBINFO_FLAG_MODULE : FBINFO_FLAG_DEFAULT;
>
> Please check this.

I think you are looking at an older tree, the patch only applies to today's
fbdev/fbdev-for-next branch, containing commit 376b3ff54c9a ("fbdev: Nuke
FBINFO_MODULE"), which was applied last night.

Arnd