git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
parisc
/
led.c
diff --git
a/drivers/parisc/led.c
b/drivers/parisc/led.c
index
c7d2d5d
..
58e5c3e
100644
(file)
--- a/
drivers/parisc/led.c
+++ b/
drivers/parisc/led.c
@@
-26,7
+26,7
@@
#include <linux/init.h>
#include <linux/types.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/ioport.h>
-#include <linux/
version
.h>
+#include <linux/
utsname
.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
@@
-56,7
+56,7
@@
static int led_heartbeat = 1;
static int led_diskio = 1;
static int led_lanrxtx = 1;
static char lcd_text[32];
static int led_diskio = 1;
static int led_lanrxtx = 1;
static char lcd_text[32];
-static char lcd_text_default[
] = "Linux " UTS_RELEASE
;
+static char lcd_text_default[
32]
;
#if 0
#define DPRINTK(x) printk x
#if 0
#define DPRINTK(x) printk x
@@
-676,6
+676,9
@@
int __init led_init(void)
struct pdc_chassis_info chassis_info;
int ret;
struct pdc_chassis_info chassis_info;
int ret;
+ snprintf(lcd_text_default, sizeof(lcd_text_default),
+ "Linux %s", system_utsname.release);
+
/* Work around the buggy PDC of KittyHawk-machines */
switch (CPU_HVERSION) {
case 0x580: /* KittyHawk DC2-100 (K100) */
/* Work around the buggy PDC of KittyHawk-machines */
switch (CPU_HVERSION) {
case 0x580: /* KittyHawk DC2-100 (K100) */