diff options
| author | Matthew Wilcox <willy@parisc-linux.org> | 2005-03-11 17:15:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-11 17:15:08 -0800 |
| commit | d6a70f7108e1b8a177f10599e7f37030c71b0f6c (patch) | |
| tree | 17d56a5f9a963c34b065202cc0adebf741f4aef4 /include | |
| parent | da32f974a05e11ec2f6c85cd01736b2965639b58 (diff) | |
[PATCH] Fix compile warnings in PA-RISC LEC driver
LED addresses are physical addresses, not remapped.
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-parisc/led.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-parisc/led.h b/include/asm-parisc/led.h index 26fa9d1e0b41..1ac8ab6c580d 100644 --- a/include/asm-parisc/led.h +++ b/include/asm-parisc/led.h @@ -21,19 +21,23 @@ #define DISPLAY_MODEL_LASI 2 /* LASI style 8 bit LED */ #define DISPLAY_MODEL_OLD_ASP 0x7F /* faked: ASP style 8 x 1 bit LED (only very old ASP versions) */ -#define LED_CMD_REG_NONE NULL /* NULL == no addr for the cmd register */ +#define LED_CMD_REG_NONE 0 /* NULL == no addr for the cmd register */ /* led tasklet struct */ extern struct tasklet_struct led_tasklet; /* register_led_driver() */ -int __init register_led_driver( int model, char *cmd_reg, char *data_reg ); +int __init register_led_driver(int model, unsigned long cmd_reg, unsigned long data_reg); /* registers the LED regions for procfs */ void __init register_led_regions(void); +#ifdef CONFIG_CHASSIS_LCD_LED /* writes a string to the LCD display (if possible on this h/w) */ int lcd_print(char *str); +#else +#define lcd_print(str) +#endif /* main LED initialization function (uses PDC) */ int __init led_init(void); |
