Added check for pcibios_ code
authorDavid Schleef <ds@schleef.org>
Wed, 5 Sep 2001 23:38:31 +0000 (23:38 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 5 Sep 2001 23:38:31 +0000 (23:38 +0000)
comedi/drivers/check_driver

index d953daec74e9a13beccb44a688d234a89bfce3c6..1fb234dbf139b12daefc2e00e6c1f3ed46ecdea4 100755 (executable)
@@ -188,6 +188,9 @@ if grep 'pci_dev' ${driver} &>/dev/null;then
        if ! grep 'MODULE_DEVICE_TABLE' ${driver} &>/dev/null;then
                echo "W: doesn't use MODULE_DEVICE_TABLE"
        fi
+       if grep 'pcibios_' ${driver} &>/dev/null;then
+               echo "W: has pcibios_*() calls"
+       fi
 fi
 
 # Who doesn't use comments like this to indicate something needs