[SPARC]: Fix some section mismatch warnings in sparc drivers.
Signed-off-by: Ben Collins <ben.collins@ubuntu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:
@@ -1,8 +1,8 @@
|
||||
/* This is the Myrinet MCP code for LANai4.x */
|
||||
/* Generated by cat $MYRI_HOME/lib/lanai/mcp4.dat > myri_code4.h */
|
||||
|
||||
static unsigned int lanai4_code_off = 0x0000; /* half-word offset */
|
||||
static unsigned char lanai4_code[76256] __initdata = {
|
||||
static unsigned int __devinitdata lanai4_code_off = 0x0000; /* half-word offset */
|
||||
static unsigned char __devinitdata lanai4_code[76256] = {
|
||||
0xF2,0x0E,
|
||||
0xFE,0x00, 0xC2,0x90, 0x00,0x00, 0x07,0x88, 0x00,0x08, 0xE0,0x01, 0x01,0x4C, 0x97,0x93,
|
||||
0xFF,0xFC, 0xE0,0x00, 0x00,0x14, 0x00,0x00, 0x00,0x01, 0x00,0x00, 0x00,0x00, 0x92,0x93,
|
||||
@@ -4774,8 +4774,8 @@ static unsigned char lanai4_code[76256] __initdata = {
|
||||
|
||||
/* This is the LANai data */
|
||||
|
||||
static unsigned int lanai4_data_off = 0x94F0; /* half-word offset */
|
||||
static unsigned char lanai4_data[20472] __initdata;
|
||||
static unsigned int __devinitdata lanai4_data_off = 0x94F0; /* half-word offset */
|
||||
static unsigned char __devinitdata lanai4_data[20472];
|
||||
|
||||
|
||||
#ifdef SYMBOL_DEFINES_COMPILED
|
||||
|
@@ -168,7 +168,7 @@ static int myri_do_handshake(struct myri_eth *mp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int myri_load_lanai(struct myri_eth *mp)
|
||||
static int __devinit myri_load_lanai(struct myri_eth *mp)
|
||||
{
|
||||
struct net_device *dev = mp->dev;
|
||||
struct myri_shmem __iomem *shmem = mp->shmem;
|
||||
@@ -891,7 +891,7 @@ static void dump_eeprom(struct myri_eth *mp)
|
||||
}
|
||||
#endif
|
||||
|
||||
static int __init myri_ether_init(struct sbus_dev *sdev)
|
||||
static int __devinit myri_ether_init(struct sbus_dev *sdev)
|
||||
{
|
||||
static int num;
|
||||
static unsigned version_printed;
|
||||
|
@@ -42,7 +42,7 @@
|
||||
#define DRV_RELDATE "11/24/03"
|
||||
#define DRV_AUTHOR "David S. Miller (davem@redhat.com)"
|
||||
|
||||
static char version[] __initdata =
|
||||
static char version[] =
|
||||
DRV_NAME ".c:v" DRV_VERSION " " DRV_RELDATE " " DRV_AUTHOR "\n";
|
||||
|
||||
MODULE_VERSION(DRV_VERSION);
|
||||
|
新增問題並參考
封鎖使用者