leds-locomo.c (be509729356b7433f73df2b9a966674a437fbbc1) | leds-locomo.c (a09e64fbc0094e3073dbb09c3b4bfe4ab669244b) |
---|---|
1/* 2 * linux/drivers/leds/leds-locomo.c 3 * 4 * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 */ 10 11#include <linux/kernel.h> 12#include <linux/init.h> 13#include <linux/device.h> 14#include <linux/leds.h> 15 | 1/* 2 * linux/drivers/leds/leds-locomo.c 3 * 4 * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 */ 10 11#include <linux/kernel.h> 12#include <linux/init.h> 13#include <linux/device.h> 14#include <linux/leds.h> 15 |
16#include <asm/arch/hardware.h> | 16#include <mach/hardware.h> |
17#include <asm/hardware/locomo.h> 18 19static void locomoled_brightness_set(struct led_classdev *led_cdev, 20 enum led_brightness value, int offset) 21{ 22 struct locomo_dev *locomo_dev = LOCOMO_DEV(led_cdev->dev->parent); 23 unsigned long flags; 24 --- 72 unchanged lines hidden --- | 17#include <asm/hardware/locomo.h> 18 19static void locomoled_brightness_set(struct led_classdev *led_cdev, 20 enum led_brightness value, int offset) 21{ 22 struct locomo_dev *locomo_dev = LOCOMO_DEV(led_cdev->dev->parent); 23 unsigned long flags; 24 --- 72 unchanged lines hidden --- |