Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134602
b: refs/heads/master
c: eb33ae2
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Eder authored and David S. Miller committed Feb 18, 2009
1 parent 4775834 commit afda2b0
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6370117958d67608225d5e3b55e3ad2080640e8
refs/heads/master: eb33ae248682ecfdf44d693c72bc4f523f2fb6e3
4 changes: 2 additions & 2 deletions trunk/drivers/net/hamradio/6pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -790,9 +790,9 @@ static struct tty_ldisc_ops sp_ldisc = {

/* Initialize 6pack control device -- register 6pack line discipline */

static char msg_banner[] __initdata = KERN_INFO \
static const char msg_banner[] __initdata = KERN_INFO \
"AX.25: 6pack driver, " SIXPACK_VERSION "\n";
static char msg_regfail[] __initdata = KERN_ERR \
static const char msg_regfail[] __initdata = KERN_ERR \
"6pack: can't register line discipline (err = %d)\n";

static int __init sixpack_init_driver(void)
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/hamradio/bpqether.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@

#include <linux/bpqether.h>

static char banner[] __initdata = KERN_INFO "AX.25: bpqether driver version 004\n";
static const char banner[] __initdata = KERN_INFO \
"AX.25: bpqether driver version 004\n";

static char bcast_addr[6]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};

Expand Down
9 changes: 5 additions & 4 deletions trunk/drivers/net/hamradio/mkiss.c
Original file line number Diff line number Diff line change
Expand Up @@ -976,9 +976,9 @@ static struct tty_ldisc_ops ax_ldisc = {
.write_wakeup = mkiss_write_wakeup
};

static char banner[] __initdata = KERN_INFO \
static const char banner[] __initdata = KERN_INFO \
"mkiss: AX.25 Multikiss, Hans Albas PE1AYX\n";
static char msg_regfail[] __initdata = KERN_ERR \
static const char msg_regfail[] __initdata = KERN_ERR \
"mkiss: can't register line discipline (err = %d)\n";

static int __init mkiss_init_driver(void)
Expand All @@ -987,8 +987,9 @@ static int __init mkiss_init_driver(void)

printk(banner);

if ((status = tty_register_ldisc(N_AX25, &ax_ldisc)) != 0)
printk(msg_regfail);
status = tty_register_ldisc(N_AX25, &ax_ldisc);
if (status != 0)
printk(msg_regfail, status);

return status;
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/hamradio/scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@

#include "z8530.h"

static char banner[] __initdata = KERN_INFO "AX.25: Z8530 SCC driver version "VERSION".dl1bke\n";
static const char banner[] __initdata = KERN_INFO \
"AX.25: Z8530 SCC driver version "VERSION".dl1bke\n";

static void t_dwait(unsigned long);
static void t_txdelay(unsigned long);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/hamradio/yam.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
/* --------------------------------------------------------------------- */

static const char yam_drvname[] = "yam";
static char yam_drvinfo[] __initdata = KERN_INFO "YAM driver version 0.8 by F1OAT/F6FBB\n";
static const char yam_drvinfo[] __initdata = KERN_INFO \
"YAM driver version 0.8 by F1OAT/F6FBB\n";

/* --------------------------------------------------------------------- */

Expand Down

0 comments on commit afda2b0

Please sign in to comment.