Blame view

drivers/leds/led-core.c 578 Bytes
c72a1d608   Richard Purdie   [PATCH] LED: add ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  /*
   * LED Class Core
   *
   * Copyright 2005-2006 Openedhand Ltd.
   *
   * Author: Richard Purdie <rpurdie@openedhand.com>
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 as
   * published by the Free Software Foundation.
   *
   */
  
  #include <linux/kernel.h>
  #include <linux/list.h>
  #include <linux/module.h>
72f8da329   Richard Purdie   leds: Fix leds_li...
17
  #include <linux/rwsem.h>
c72a1d608   Richard Purdie   [PATCH] LED: add ...
18
19
  #include <linux/leds.h>
  #include "leds.h"
72f8da329   Richard Purdie   leds: Fix leds_li...
20
  DECLARE_RWSEM(leds_list_lock);
4d404fd5c   Németh Márton   leds: Cleanup var...
21
  EXPORT_SYMBOL_GPL(leds_list_lock);
c72a1d608   Richard Purdie   [PATCH] LED: add ...
22

4d404fd5c   Németh Márton   leds: Cleanup var...
23
  LIST_HEAD(leds_list);
c72a1d608   Richard Purdie   [PATCH] LED: add ...
24
  EXPORT_SYMBOL_GPL(leds_list);