summaryrefslogtreecommitdiff
path: root/libdrm/nouveau/nouveau_channel.h
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2009-02-18 22:46:40 +0200
committerPekka Paalanen <pq@iki.fi>2009-02-18 22:46:40 +0200
commit6a31b445fa494b992d5ddb115dd022058b787fc2 (patch)
tree671c1594b33603773ab977d3e9305557f4a6856c /libdrm/nouveau/nouveau_channel.h
parent25c60cfeca16f2bce38dbf32a57f1edc04c23a19 (diff)
nouveau: support backlight only when kernel does
Loading nouveau.ko would fail with unknown symbols, if the backlight class device support is not provided in the kernel. Let's make the backlight support dependant on the kernel configuration. This is a bit ugly, the proper way would be to check for the config in Makefile.kernel whether to build nouveau_backlight.o at all, and if not, nouveau_drv.h should provide the stubs. Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'libdrm/nouveau/nouveau_channel.h')
0 files changed, 0 insertions, 0 deletions