CONFIG_MARU=y
CONFIG_MARU_VIRTIO_TOUCHSCREEN=y
# CONFIG_MARU_CAMERA is not set
-# CONFIG_MARU_BACKLIGHT is not set
+CONFIG_MARU_BACKLIGHT=y
CONFIG_MARU_JACK=y
CONFIG_MARU_VIRTIO_HWKEY=y
CONFIG_MARU_VIRTIO_TABLET=y
#define MARUBL_DRIVER_NAME "maru_backlight"
-#define MIN_BRIGHTNESS 0
#define MAX_BRIGHTNESS 100
static struct pci_device_id marubl_pci_table[] = {
static struct marubl *marubl_device;
/* ========================================================================== */
-static int min_brightness = MIN_BRIGHTNESS;
static int max_brightness = MAX_BRIGHTNESS;
static int marubl_get_intensity(struct backlight_device *bd)
* register backlight device
*/
memset(&props, 0, sizeof(struct backlight_properties));
- props.min_brightness = min_brightness;
props.max_brightness = max_brightness;
props.type = BACKLIGHT_PLATFORM;
bd = backlight_device_register("emulator",