Ticket #11315: fix-section-errors.patch

File fix-section-errors.patch, 8.5 KB (added by Jeroen van Bemmel <jbemmel@…>, 6 years ago)

Patch (created with git diff in target/linux/ixp4xx) which updates 8 existing patch files

  • target/linux/ixp4xx/patches-2.6.32/190-cambria_support.patch

    diff --git target/linux/ixp4xx/patches-2.6.32/190-cambria_support.patch target/linux/ixp4xx/patches-2.6.32/190-cambria_support.patch
    index 6753451..8eeb365 100644
     
    409409+       return NULL; 
    410410+} 
    411411+ 
    412 +static struct memory_accessor *at24_mem_acc; 
     412+static struct memory_accessor *at24_mem_acc __initdata; 
    413413+ 
    414 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     414+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    415415+{ 
    416416+       char mac_addr[ETH_ALEN]; 
    417417+       char model[7]; 
     
    433433+ 
    434434+} 
    435435+ 
    436 +static struct at24_platform_data cambria_eeprom_info = { 
     436+static struct at24_platform_data cambria_eeprom_info __initdata = { 
    437437+       .byte_len       = 1024, 
    438438+       .page_size      = 16, 
    439439+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-2.6.32/300-avila_fetch_mac.patch

    diff --git target/linux/ixp4xx/patches-2.6.32/300-avila_fetch_mac.patch target/linux/ixp4xx/patches-2.6.32/300-avila_fetch_mac.patch
    index d3ccb04..e4232dd 100644
     
    158158+       return NULL; 
    159159+} 
    160160+ 
    161 +static struct memory_accessor *at24_mem_acc; 
     161+static struct memory_accessor *at24_mem_acc __initdata; 
    162162+ 
    163 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     163+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    164164+{ 
    165165+       char mac_addr[ETH_ALEN]; 
    166166+       char model[7]; 
     
    182182+ 
    183183+} 
    184184+ 
    185 +static struct at24_platform_data avila_eeprom_info = { 
     185+static struct at24_platform_data avila_eeprom_info __initdata = { 
    186186+       .byte_len       = 1024, 
    187187+       .page_size      = 16, 
    188188+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch

    diff --git target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch target/linux/ixp4xx/patches-2.6.37/190-cambria_support.patch
    index 32199d8..bb7651e 100644
     
    409409+       return NULL; 
    410410+} 
    411411+ 
    412 +static struct memory_accessor *at24_mem_acc; 
     412+static struct memory_accessor *at24_mem_acc __initdata; 
    413413+ 
    414 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     414+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    415415+{ 
    416416+       char mac_addr[ETH_ALEN]; 
    417417+       char model[7]; 
     
    433433+ 
    434434+} 
    435435+ 
    436 +static struct at24_platform_data cambria_eeprom_info = { 
     436+static struct at24_platform_data cambria_eeprom_info __initdata = { 
    437437+       .byte_len       = 1024, 
    438438+       .page_size      = 16, 
    439439+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-2.6.37/300-avila_fetch_mac.patch

    diff --git target/linux/ixp4xx/patches-2.6.37/300-avila_fetch_mac.patch target/linux/ixp4xx/patches-2.6.37/300-avila_fetch_mac.patch
    index 8cbd38d..c6b126f 100644
     
    156156+       return NULL; 
    157157+} 
    158158+ 
    159 +static struct memory_accessor *at24_mem_acc; 
     159+static struct memory_accessor *at24_mem_acc __initdata; 
    160160+ 
    161 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     161+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    162162+{ 
    163163+       char mac_addr[ETH_ALEN]; 
    164164+       char model[7]; 
     
    180180+ 
    181181+} 
    182182+ 
    183 +static struct at24_platform_data avila_eeprom_info = { 
     183+static struct at24_platform_data avila_eeprom_info __initdata = { 
    184184+       .byte_len       = 1024, 
    185185+       .page_size      = 16, 
    186186+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-2.6.38/190-cambria_support.patch

    diff --git target/linux/ixp4xx/patches-2.6.38/190-cambria_support.patch target/linux/ixp4xx/patches-2.6.38/190-cambria_support.patch
    index 32199d8..bb7651e 100644
     
    409409+       return NULL; 
    410410+} 
    411411+ 
    412 +static struct memory_accessor *at24_mem_acc; 
     412+static struct memory_accessor *at24_mem_acc __initdata; 
    413413+ 
    414 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     414+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    415415+{ 
    416416+       char mac_addr[ETH_ALEN]; 
    417417+       char model[7]; 
     
    433433+ 
    434434+} 
    435435+ 
    436 +static struct at24_platform_data cambria_eeprom_info = { 
     436+static struct at24_platform_data cambria_eeprom_info __initdata = { 
    437437+       .byte_len       = 1024, 
    438438+       .page_size      = 16, 
    439439+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-2.6.38/300-avila_fetch_mac.patch

    diff --git target/linux/ixp4xx/patches-2.6.38/300-avila_fetch_mac.patch target/linux/ixp4xx/patches-2.6.38/300-avila_fetch_mac.patch
    index 8cbd38d..c6b126f 100644
     
    156156+       return NULL; 
    157157+} 
    158158+ 
    159 +static struct memory_accessor *at24_mem_acc; 
     159+static struct memory_accessor *at24_mem_acc __initdata; 
    160160+ 
    161 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     161+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    162162+{ 
    163163+       char mac_addr[ETH_ALEN]; 
    164164+       char model[7]; 
     
    180180+ 
    181181+} 
    182182+ 
    183 +static struct at24_platform_data avila_eeprom_info = { 
     183+static struct at24_platform_data avila_eeprom_info __initdata = { 
    184184+       .byte_len       = 1024, 
    185185+       .page_size      = 16, 
    186186+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-3.0/190-cambria_support.patch

    diff --git target/linux/ixp4xx/patches-3.0/190-cambria_support.patch target/linux/ixp4xx/patches-3.0/190-cambria_support.patch
    index df34ab8..97fdc79 100644
     
    409409+       return NULL; 
    410410+} 
    411411+ 
    412 +static struct memory_accessor *at24_mem_acc; 
     412+static struct memory_accessor *at24_mem_acc __initdata; 
    413413+ 
    414 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     414+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    415415+{ 
    416416+       char mac_addr[ETH_ALEN]; 
    417417+       char model[7]; 
     
    433433+ 
    434434+} 
    435435+ 
    436 +static struct at24_platform_data cambria_eeprom_info = { 
     436+static struct at24_platform_data cambria_eeprom_info __initdata = { 
    437437+       .byte_len       = 1024, 
    438438+       .page_size      = 16, 
    439439+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-3.0/300-avila_fetch_mac.patch

    diff --git target/linux/ixp4xx/patches-3.0/300-avila_fetch_mac.patch target/linux/ixp4xx/patches-3.0/300-avila_fetch_mac.patch
    index 8cbd38d..c6b126f 100644
     
    156156+       return NULL; 
    157157+} 
    158158+ 
    159 +static struct memory_accessor *at24_mem_acc; 
     159+static struct memory_accessor *at24_mem_acc __initdata; 
    160160+ 
    161 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     161+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    162162+{ 
    163163+       char mac_addr[ETH_ALEN]; 
    164164+       char model[7]; 
     
    180180+ 
    181181+} 
    182182+ 
    183 +static struct at24_platform_data avila_eeprom_info = { 
     183+static struct at24_platform_data avila_eeprom_info __initdata = { 
    184184+       .byte_len       = 1024, 
    185185+       .page_size      = 16, 
    186186+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-3.3/190-cambria_support.patch

    diff --git target/linux/ixp4xx/patches-3.3/190-cambria_support.patch target/linux/ixp4xx/patches-3.3/190-cambria_support.patch
    index 3c6627c..cbc7831 100644
     
    409409+       return NULL; 
    410410+} 
    411411+ 
    412 +static struct memory_accessor *at24_mem_acc; 
     412+static struct memory_accessor *at24_mem_acc __initdata; 
    413413+ 
    414 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     414+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    415415+{ 
    416416+       char mac_addr[ETH_ALEN]; 
    417417+       char model[7]; 
     
    433433+ 
    434434+} 
    435435+ 
    436 +static struct at24_platform_data cambria_eeprom_info = { 
     436+static struct at24_platform_data cambria_eeprom_info __initdata = { 
    437437+       .byte_len       = 1024, 
    438438+       .page_size      = 16, 
    439439+       .flags          = AT24_FLAG_READONLY, 
  • target/linux/ixp4xx/patches-3.3/300-avila_fetch_mac.patch

    diff --git target/linux/ixp4xx/patches-3.3/300-avila_fetch_mac.patch target/linux/ixp4xx/patches-3.3/300-avila_fetch_mac.patch
    index 8cbd38d..c6b126f 100644
     
    156156+       return NULL; 
    157157+} 
    158158+ 
    159 +static struct memory_accessor *at24_mem_acc; 
     159+static struct memory_accessor *at24_mem_acc __initdata; 
    160160+ 
    161 +static void at24_setup(struct memory_accessor *mem_acc, void *context) 
     161+static void __init at24_setup(struct memory_accessor *mem_acc, void *context) 
    162162+{ 
    163163+       char mac_addr[ETH_ALEN]; 
    164164+       char model[7]; 
     
    180180+ 
    181181+} 
    182182+ 
    183 +static struct at24_platform_data avila_eeprom_info = { 
     183+static struct at24_platform_data avila_eeprom_info __initdata = { 
    184184+       .byte_len       = 1024, 
    185185+       .page_size      = 16, 
    186186+       .flags          = AT24_FLAG_READONLY,