]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Move pci_dev_is_behind_card_dino to where it is used
authorGuenter Roeck <linux@roeck-us.net>
Wed, 8 Sep 2021 15:30:41 +0000 (08:30 -0700)
committerHelge Deller <deller@gmx.de>
Thu, 9 Sep 2021 10:44:31 +0000 (12:44 +0200)
commit6e3269cc7266fa7f035044d26c7e073bd00ea050
treea2bc7061bee9c926a3a9c167eecaa6255d43e2af
parent6fc2076851d8efa3e4ec8bc704853309235a9422
parisc: Move pci_dev_is_behind_card_dino to where it is used

parisc build test images fail to compile with the following error.

drivers/parisc/dino.c:160:12: error:
'pci_dev_is_behind_card_dino' defined but not used

Move the function just ahead of its only caller to avoid the error.

Fixes: e65d678d113f ("parisc: Disable HP HSC-PCI Cards to prevent kernel crash")
Cc: Helge Deller <deller@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/dino.c