]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: print quirk name in debug messages
authorbjorn.helgaas@hp.com <bjorn.helgaas@hp.com>
Mon, 17 Dec 2007 21:09:38 +0000 (14:09 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:26 +0000 (15:04 -0800)
commit9f23ed3b947746a7a270e955e7d2a8f9df347ce3
treea8a4168f5c27c299429036c3f2cb169a094280bf
parente64aeccbeca1f7e22174ca3a12ec35a8f5566515
PCI: print quirk name in debug messages

Instead of printing this:

    PCI: Calling quirk c023b250 for 0000:00:00.0

we can print this:

    pci 0000:00:00.0: calling quirk 0xc023b270: quirk_cardbus_legacy+0x0/0x30()

The address is superfluous because sprint_symbol() includes the
address if the symbol lookup fails, but this is the same style used
in do_initcalls() and pnp_fixup_device().

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c