Skip to content

Commit

Permalink
sections: fix section conflicts in drivers/net/hamradio
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Oct 5, 2012
1 parent c477ebd commit afa8c78
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion drivers/net/hamradio/6pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ static int __init sixpack_init_driver(void)
return status;
}

static const char msg_unregfail[] __exitdata = KERN_ERR \
static const char msg_unregfail[] = KERN_ERR \
"6pack: can't unregister line discipline (err = %d)\n";

static void __exit sixpack_exit_driver(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hamradio/bpqether.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

#include <linux/bpqether.h>

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

static char bcast_addr[6]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
Expand Down
6 changes: 3 additions & 3 deletions drivers/net/hamradio/mkiss.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,9 +997,9 @@ static struct tty_ldisc_ops ax_ldisc = {
.write_wakeup = mkiss_write_wakeup
};

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

static int __init mkiss_init_driver(void)
Expand All @@ -1015,7 +1015,7 @@ static int __init mkiss_init_driver(void)
return status;
}

static const char msg_unregfail[] __exitdata = KERN_ERR \
static const char msg_unregfail[] = KERN_ERR \
"mkiss: can't unregister line discipline (err = %d)\n";

static void __exit mkiss_exit_driver(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hamradio/scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@

#include "z8530.h"

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

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

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

/* --------------------------------------------------------------------- */
Expand Down

0 comments on commit afa8c78

Please sign in to comment.