linux/drivers/platform/x86/dell/dell-wmi-led.c

/*
 * Copyright (C) 2010 Dell Inc.
 * Louis Davis <[email protected]>
 * Jim Dailey <[email protected]>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 */

#include <linux/acpi.h>
#include <linux/leds.h>
#include <linux/slab.h>
#include <linux/module.h>

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

#define DELL_LED_BIOS_GUID
MODULE_ALIAS();

/* Error Result Codes: */
#define INVALID_DEVICE_ID
#define INVALID_PARAMETER
#define INVALID_BUFFER
#define INTERFACE_ERROR
#define UNSUPPORTED_COMMAND
#define UNSPECIFIED_ERROR

/* Device ID */
#define DEVICE_ID_PANEL_BACK

/* LED Commands */
#define CMD_LED_ON
#define CMD_LED_OFF
#define CMD_LED_BLINK

struct bios_args {};

static int dell_led_perform_fn(u8 length, u8 result_code, u8 device_id,
			       u8 command, u8 on_time, u8 off_time)
{}

static int led_on(void)
{}

static int led_off(void)
{}

static int led_blink(unsigned char on_eighths, unsigned char off_eighths)
{}

static void dell_led_set(struct led_classdev *led_cdev,
			 enum led_brightness value)
{}

static int dell_led_blink(struct led_classdev *led_cdev,
			  unsigned long *delay_on, unsigned long *delay_off)
{}

static struct led_classdev dell_led =;

static int __init dell_led_init(void)
{}

static void __exit dell_led_exit(void)
{}

module_init();
module_exit(dell_led_exit);