]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/powernv/pci: Fix cfg_dbg() & replace with pr_devel()
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 2 May 2016 07:06:12 +0000 (17:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:54:02 +0000 (21:54 +1000)
commit9e44754755528f78dbc3a5e64cd48dadf4773777
treecb083971fd17f0d160c7e279588b06e91715c70d
parent2f67798c1f9f35ba576ac0639b9b648b9b2033f6
powerpc/powernv/pci: Fix cfg_dbg() & replace with pr_devel()

When cfg_dbg() is enabled (i.e. mapped to printk()), gcc produces
errors as the __func__ parameter is missing (pnv_pci_cfg_read() has one);
this adds the missing parameter.

cfg_dbg() is just an inferior version of pr_devel() so use the latter
instead.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci.c