Skip to content

Commit

Permalink
leds: kirkwood: Cleanup in header files
Browse files Browse the repository at this point in the history
Commit c02cecb ("ARM: orion: move platform_data definitions")
moved the files to the current location but forgot to remove the pointer
to its previous location. Clean it up. While at it also change the header
file protection macros appropriately.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
  • Loading branch information
Sachin Kamat authored and Bryan Wu committed Jan 28, 2014
1 parent 33fc945 commit 00d1955
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions include/linux/platform_data/leds-kirkwood-netxbig.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
/*
* arch/arm/mach-kirkwood/include/mach/leds-netxbig.h
*
* Platform data structure for netxbig LED driver
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/

#ifndef __MACH_LEDS_NETXBIG_H
#define __MACH_LEDS_NETXBIG_H
#ifndef __LEDS_KIRKWOOD_NETXBIG_H
#define __LEDS_KIRKWOOD_NETXBIG_H

struct netxbig_gpio_ext {
unsigned *addr;
Expand Down Expand Up @@ -52,4 +50,4 @@ struct netxbig_led_platform_data {
int num_leds;
};

#endif /* __MACH_LEDS_NETXBIG_H */
#endif /* __LEDS_KIRKWOOD_NETXBIG_H */
8 changes: 3 additions & 5 deletions include/linux/platform_data/leds-kirkwood-ns2.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
/*
* arch/arm/mach-kirkwood/include/mach/leds-ns2.h
*
* Platform data structure for Network Space v2 LED driver
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/

#ifndef __MACH_LEDS_NS2_H
#define __MACH_LEDS_NS2_H
#ifndef __LEDS_KIRKWOOD_NS2_H
#define __LEDS_KIRKWOOD_NS2_H

struct ns2_led {
const char *name;
Expand All @@ -23,4 +21,4 @@ struct ns2_led_platform_data {
struct ns2_led *leds;
};

#endif /* __MACH_LEDS_NS2_H */
#endif /* __LEDS_KIRKWOOD_NS2_H */

0 comments on commit 00d1955

Please sign in to comment.