• A
    PCI: rename DECLARE_PCI_DEVICE_TABLE to DEFINE_PCI_DEVICE_TABLE · 8647af71
    Andrew Morton 提交于
    a) DECLARE_PCI_DEVICE_TABLE is misnamed.  It is used to *define* tables,
       not to declare them.  It should be called DEFINE_PCI_DEVICE_TABLE.
    
    b) It's lame, anyway.  We could implement any number of such helper
       thingies, but we choose not to.
    
    
    So I wouldn't go adding code which uses this thing until it has a correct
    name, and until we've decided that we actually want to live with it.
    
    
    From: Andrew Morton <akpm@linux-foundation.org>
    Cc: Jonas Bonn <jonas@southpole.se>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    8647af71
pci.h 34.5 KB