backports: handle pci_error_handlers change to const
authorStefan Assmann <sassmann@kpanic.de>
Fri, 16 May 2014 11:21:24 +0000 (13:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:15 +0000 (00:16 +0200)
commit525b264c8fb1c626be04880ea134a1112288f09e
tree49b26288936ad08d5231536ee66c0a078a34c5e3
parent2b21554d3828d5dbfa8bc80f03d8e98aeab953b5
backports: handle pci_error_handlers change to const

In kernel 3.7 struct pci_driver changed pci_error_handlers to const.
Address this by putting ifdef around the code.

commit 494530284f16298050ab99f54b7b12dd7d1418a1
Author: Stephen Hemminger <shemminger@vyatta.com>
Date:   Fri Sep 7 09:33:14 2012 -0700

    PCI: Make pci_error_handlers const

git describe --contains 494530284f16298050ab99f54b7b12dd7d1418a1
v3.7-rc1~177^2~9^2~3

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0042-pci_error_handlers/INFO [new file with mode: 0644]
patches/collateral-evolutions/network/0042-pci_error_handlers/igb_pci_error_handlers.patch [new file with mode: 0644]