linux/drivers/leds/leds-cobalt-raq.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  LEDs driver for the Cobalt Raq series.
 *
 *  Copyright (C) 2007  Yoichi Yuasa <[email protected]>
 */
#include <linux/init.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/leds.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>
#include <linux/types.h>
#include <linux/export.h>

#define LED_WEB
#define LED_POWER_OFF

static void __iomem *led_port;
static u8 led_value;
static DEFINE_SPINLOCK(led_value_lock);

static void raq_web_led_set(struct led_classdev *led_cdev,
			    enum led_brightness brightness)
{}

static struct led_classdev raq_web_led =;

static void raq_power_off_led_set(struct led_classdev *led_cdev,
				  enum led_brightness brightness)
{}

static struct led_classdev raq_power_off_led =;

static int cobalt_raq_led_probe(struct platform_device *pdev)
{}

static struct platform_driver cobalt_raq_led_driver =;

builtin_platform_driver();