• David Woodhouse's avatar
    [1/3] Split pci quirks array to allow separate declarations. · 61cbb82a
    David Woodhouse authored
    It's a pain in the arse to set up platform-specific PCI quirks -- you
    have to put your platform-specific quirk into the generic (or at least
    the architecture) array. This patch fixes that, allowing you to
    DECLARE_PCI_FIXUP_HEADER() or DECLARE_PCI_FIXUP_FINAL() anywhere you
    like.
    
    Note that a lot of the quirks can now be moved out of
    drivers/pci/quirks.c and put somewhere closer to where they belong.
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    61cbb82a
quirks.c 34.8 KB