From 42dfe7a1844cbad7114038aaf03828acb7a84414 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 14 Mar 2004 22:25:36 +0000 Subject: Code cleanup; make several boards compile & link. --- board/ssv/common/cmd_sled.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'board/ssv/common/cmd_sled.c') diff --git a/board/ssv/common/cmd_sled.c b/board/ssv/common/cmd_sled.c index 6ca054c..d61fa3e 100644 --- a/board/ssv/common/cmd_sled.c +++ b/board/ssv/common/cmd_sled.c @@ -12,7 +12,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License @@ -28,20 +28,20 @@ #if defined(CONFIG_STATUS_LED) /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - * !!!!! Q u i c k & D i r t y H a c k !!!!! + * !!!!! Q u i c k & D i r t y H a c k !!!!! * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - * !!!!! !!!!! - * !!!!! Next type definition was coming from original !!!!! - * !!!!! status LED driver drivers/status_led.c and !!!!! - * !!!!! should exported for using here. !!!!! - * !!!!! !!!!! + * !!!!! !!!!! + * !!!!! Next type definition was coming from original !!!!! + * !!!!! status LED driver drivers/status_led.c and !!!!! + * !!!!! should exported for using here. !!!!! + * !!!!! !!!!! * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ typedef struct { - led_id_t mask; - int state; - int period; - int cnt; + led_id_t mask; + int state; + int period; + int cnt; } led_dev_t; extern led_dev_t led_dev[]; @@ -141,18 +141,18 @@ int do_sled (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) #ifdef STATUS_LED_RED #ifdef STATUS_LED_YELLOW #ifdef STATUS_LED_GREEN -#define __NAME_STR " - name: boot|red|yellow|green\n" +#define __NAME_STR " - name: boot|red|yellow|green\n" #else -#define __NAME_STR " - name: boot|red|yellow\n" +#define __NAME_STR " - name: boot|red|yellow\n" #endif #else -#define __NAME_STR " - name: boot|red\n" +#define __NAME_STR " - name: boot|red\n" #endif #else -#define __NAME_STR " - name: boot\n" +#define __NAME_STR " - name: boot\n" #endif #else -#define __NAME_STR " - name: (no such defined)\n" +#define __NAME_STR " - name: (no such defined)\n" #endif U_BOOT_CMD (sled, 3, 0, do_sled, -- cgit v1.1