Re: [PATCH] drm/armada: fix debugfs link error

From: Arnd Bergmann
Date: Fri Jun 28 2019 - 09:10:44 EST


On Fri, Jun 28, 2019 at 2:48 PM Russell King - ARM Linux admin
<linux@xxxxxxxxxxxxxxx> wrote:
>
> On Fri, Jun 28, 2019 at 12:33:40PM +0200, Arnd Bergmann wrote:
> > Debugfs can be disabled at compile time, causing a link error
> > with the newly restructured code:
> >
> > drivers/gpu/drm/armada/armada_crtc.o: In function `armada_drm_crtc_late_register':
> > armada_crtc.c:(.text+0x974): undefined reference to `armada_drm_crtc_debugfs_init'
> >
> > Make the code into the debugfs init function conditional.
>
> Thanks Arnd, mind if I roll this into the original commit?

That would be best, please do so.

Arnd