Re: BACKLIGHT_CLASS_DEVICE=y, SYSFS=n compile error
From: Adrian Bunk
Date: Tue Feb 20 2007 - 08:19:27 EST
On Tue, Feb 20, 2007 at 12:38:40PM +0000, Richard Purdie wrote:
> On Tue, 2007-02-20 at 01:08 +0100, Adrian Bunk wrote:
> > CONFIG_BACKLIGHT_CLASS_DEVICE=y, CONFIG_SYSFS=n results int he
> > following compile error:
> > ...
> > LD .tmp_vmlinux1
> > drivers/built-in.o: In function `nvidia_bl_exit':
> > (.text+0x27d01): undefined reference to `backlight_device_unregister'
> > drivers/built-in.o: In function `nvidia_bl_init':
> > (.text+0x27e3c): undefined reference to `backlight_device_register'
>
> I've added the patch below to the git backlight tree to resolve this.
Thanks, I can confirm this fixes it.
> Cheers,
>
> Richard
>...
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
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/