Re: 2.6.37-rc3 problems

From: Randy Dunlap
Date: Mon Nov 22 2010 - 00:13:32 EST


On Sun, 21 Nov 2010 20:56:26 -0800 Randy Dunlap wrote:

> On Sun, 21 Nov 2010 20:35:20 -0800 Greg KH wrote:
>
> > On Sun, Nov 21, 2010 at 11:20:40PM -0400, werner wrote:
> > > 2.6.37-rc3 problems
> > >
> > > easycap_main.c lines 4251,4 : implicit declaration lock-kernel ,
> > > unlock_kernel
> > >
> > > (compilation error)
> >
> > Either disable this driver from your .config, or enable the BKL in your
> > .config. I have a pending patch to get to Linus to fix this Kconfig
> > issue for this driver.
>
> The build error happens even when CONFIG_BKL=y. In fact, that's the only
> way to enable EASYCAP, since EASYCAP depends on BKL.

OTOH, adding <linux/smp_lock.h> to easycap.h fixes the build.


> > Are you really using this driver?
>
> Werner builds a distro.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/