lkml.org 
[lkml]   [2012]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 15/16] xtensa/PCI: Factor 'pcibios_setup()' out of xtensa
    Date
    The PCI core provides a generic (__weak) 'pcibios_setup()' routine 
    that can be used by all architectures as a default. Drop xtensa's
    architecture specific version in favor of that as it does not need to be
    over-ridden.

    No functional change.

    Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
    ---

    arch/xtensa/kernel/pci.c | 6 ------
    1 files changed, 0 insertions(+), 6 deletions(-)

    diff --git a/arch/xtensa/kernel/pci.c b/arch/xtensa/kernel/pci.c
    index eb30e35..3a2cae4 100644
    --- a/arch/xtensa/kernel/pci.c
    +++ b/arch/xtensa/kernel/pci.c
    @@ -46,7 +46,6 @@
    * pcibios_fixups
    * pcibios_align_resource
    * pcibios_fixup_bus
    - * pcibios_setup
    * pci_bus_add_device
    * pci_mmap_page_range
    */
    @@ -206,11 +205,6 @@ void __init pcibios_fixup_bus(struct pci_bus *bus)
    }
    }

    -char __init *pcibios_setup(char *str)
    -{
    - return str;
    -}
    -
    void pcibios_set_master(struct pci_dev *dev)
    {
    /* No special bus mastering setup handling */


    \
     
     \ /
      Last update: 2012-06-26 07:21    [W:4.144 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site