Re: [PATCH 2/2] drm/bridge: Add IT6151 bridge driver
From: Heiko Stuebner
Date: Thu Mar 12 2015 - 06:24:24 EST
Am Donnerstag, 12. März 2015, 10:00:47 schrieb Paul Bolle:
> > --- /dev/null
> > +++ b/drivers/gpu/drm/bridge/it6151.c
> >
> > +#include <linux/module.h>
>
> This file can only be built-in. So I couldn't help but notice this
> include. And if I remove it
> make drivers/gpu/drm/bridge/it6151.o
>
> still runs without warning or errors. Unless I've missed something
> non-obvious I'd say it is not needed.
I think the more interesting question would be, why can it only be built in
:-) .
The drm/bridge series from Ajay Kumar [0] made it into 4.0-rc that enables
drm-bridges to be regular platform/i2c devices, see [1] for example.
So I think any new bridge driver should use this approach and can thus also be
build as module.
Heiko
[0] http://www.spinics.net/lists/linux-samsung-soc/msg41403.html
[1] http://www.spinics.net/lists/linux-samsung-soc/msg41406.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/