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)
commit907872baa9f1538eed02ec737b8e89eba6c6e4b9
treea2bc7061bee9c926a3a9c167eecaa6255d43e2af
parente4f2006f1287e7ea17660490569cff323772dac4
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: 5fa1659105fa ("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