Uncomment pci_enable_device check
authorDavid Schleef <ds@schleef.org>
Tue, 24 Jul 2001 10:33:42 +0000 (10:33 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 24 Jul 2001 10:33:42 +0000 (10:33 +0000)
comedi/drivers/check_driver

index a04c73681768aa13087c8a0a5550ac62775f9827..0c81315a7c724c6a54976f991843d4ee2fcdbd23 100755 (executable)
@@ -177,9 +177,9 @@ if grep 'pci_dev' ${driver} &>/dev/null;then
        if ! grep 'pci_find_device' ${driver} &>/dev/null;then
                echo "W: doesn't use pci_find_device"
        fi
-       #if ! grep 'pci_enable_device' ${driver} &>/dev/null;then
-       #       echo "W: doesn't use pci_enable_device"
-       #fi
+       if ! grep 'pci_enable_device' ${driver} &>/dev/null;then
+               echo "W: doesn't use pci_enable_device"
+       fi
        if ! grep 'MODULE_DEVICE_TABLE' ${driver} &>/dev/null;then
                echo "W: doesn't use MODULE_DEVICE_TABLE"
        fi