• Andrew Morton's avatar
    [PATCH] pciehp_hpc build fix · 5d1b8c9e
    Andrew Morton authored
    drivers/pci/hotplug/pciehp_hpc.c:221: parse error before "pcie_isr"
    drivers/pci/hotplug/pciehp_hpc.c:221: warning: type defaults to `int' in declaration of `pcie_isr'
    drivers/pci/hotplug/pciehp_hpc.c:221: warning: data definition has no type or storage class
    drivers/pci/hotplug/pciehp_hpc.c: In function `hpc_release_ctlr':
    drivers/pci/hotplug/pciehp_hpc.c:715: implicit declaration of function `free_irq'
    drivers/pci/hotplug/pciehp_hpc.c: At top level:
    drivers/pci/hotplug/pciehp_hpc.c:839: parse error before "pcie_isr"
    drivers/pci/hotplug/pciehp_hpc.c:840: warning: return type defaults to `int'
    drivers/pci/hotplug/pciehp_hpc.c: In function `pcie_isr':
    drivers/pci/hotplug/pciehp_hpc.c:850: `IRQ_NONE' undeclared (first use in this function)
    drivers/pci/hotplug/pciehp_hpc.c:850: (Each undeclared identifier is reported only once
    drivers/pci/hotplug/pciehp_hpc.c:850: for each function it appears in.)
    drivers/pci/hotplug/pciehp_hpc.c:979: `IRQ_HANDLED' undeclared (first use in this function)
    drivers/pci/hotplug/pciehp_hpc.c: In function `pcie_init':
    drivers/pci/hotplug/pciehp_hpc.c:1362: implicit declaration of function `request_irq'
    
    Cc: Greg KH <greg@kroah.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    5d1b8c9e
pciehp_hpc.c 38.2 KB