Skip to content
Commit 6a31b445 authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

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: default avatarPekka Paalanen <pq@iki.fi>
parent 25c60cfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment