lkml.org 
[lkml]   [2012]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 1/2] ARM: pci: Keep pci_common_init() around after init
    On Fri, Sep 14, 2012 at 3:11 PM, Thierry Reding
    <thierry.reding@avionic-design.de> wrote:
    > When using deferred driver probing, PCI host controller drivers may
    > actually require this function after the init stage.
    >
    > Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
    > ---
    > arch/arm/kernel/bios32.c | 4 ++--
    > 1 file changed, 2 insertions(+), 2 deletions(-)
    >
    > diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c
    > index 2b2f25e..7288093 100644
    > --- a/arch/arm/kernel/bios32.c
    > +++ b/arch/arm/kernel/bios32.c
    > @@ -423,7 +423,7 @@ static int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
    > return irq;
    > }
    >
    > -static void __init pcibios_init_hw(struct hw_pci *hw, struct list_head *head)
    > +static void __devinit pcibios_init_hw(struct hw_pci *hw, struct list_head *head)

    Shouldn't we just remove __init completely, since Greg KH is in the
    process of removing __devinit?

    > {
    > struct pci_sys_data *sys = NULL;
    > int ret;
    > @@ -472,7 +472,7 @@ static void __init pcibios_init_hw(struct hw_pci *hw, struct list_head *head)
    > }
    > }
    >
    > -void __init pci_common_init(struct hw_pci *hw)
    > +void __devinit pci_common_init(struct hw_pci *hw)
    > {
    > struct pci_sys_data *sys;
    > LIST_HEAD(head);
    > --
    > 1.7.12
    >


    \
     
     \ /
      Last update: 2012-09-18 19:41    [W:6.478 / U:0.184 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site