]> err.no Git - linux-2.6/blobdiff - drivers/ide/pci/hpt366.c
Merge branch 'linux-2.6' into for-linus
[linux-2.6] / drivers / ide / pci / hpt366.c
index 7b589d948bf98bce6405196a55444787d4eff920..e993a51f250e5fa026c718d5f66091cd2952a5d2 100644 (file)
@@ -55,7 +55,6 @@
  */
 
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
@@ -1288,6 +1287,10 @@ static void __devinit hpt37x_clocking(ide_hwif_t *hwif)
                                goto init_hpt37X_done;
                        }
                }
+               if (!pci_get_drvdata(dev)) {
+                       printk("No Clock Stabilization!!!\n");
+                       return;
+               }
 pll_recal:
                if (adjust & 1)
                        pll -= (adjust >> 1);