[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120627111022.GB308@opensource.wolfsonmicro.com>
Date: Wed, 27 Jun 2012 12:10:22 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Dave Airlie <airlied@...il.com>
Cc: David Airlie <airlied@...ux.ie>, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/i2c/ch7006: Convert to dev_pm_ops
On Wed, Jun 27, 2012 at 10:21:46AM +0100, Dave Airlie wrote:
> Thanks for this and I like the fact its been posted 5 times but never
> compiled once.
It's hard to remember since it was so long ago that I wrote the patch
but I rather suspect the reason this didn't happen is that it's actually
fairly hard to enable for test builds as the relevant Kconfig is buried
in a different directory (it's done as part of the Nouveau driver) with
no immediate relationship with the code. That said...
> Can you at least test compile it?
...it could also be that the build error I get when I enable CONFIG_DRM
with -next is a long standing one:
In file included from include/drm/drmP.h:75,
from drivers/gpu/drm/drm_auth.c:36:
include/drm/drm.h:47: fatal error: sys/ioccom.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/gpu/drm/drm_auth.o] Error 1
The error here seems to be that you're relying on __linux__ to decide if
you're building the kernel but that's not something you can rely on, we
can build the kernel with a freestanding compiler and the compiler will
only define this if it targets a Linux userspace. I happen to do pretty
much all of my kernel builds with a freestanding compiler.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists