]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/ata/pata_hpt37x.c
pata_hpt{366|37x}: use pr_warning(...) instead of printk(KERN_WARNING ...)
[mv-sheeva.git] / drivers / ata / pata_hpt37x.c
index efdd18bc8663588d5db55942bea138fa353b6df6..a1f830eaa7c91528f19ae00630149c855165904e 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/libata.h>
 
 #define DRV_NAME       "pata_hpt37x"
-#define DRV_VERSION    "0.6.18"
+#define DRV_VERSION    "0.6.19"
 
 struct hpt_clock {
        u8      xfer_speed;
@@ -229,8 +229,8 @@ static int hpt_dma_blacklisted(const struct ata_device *dev, char *modestr,
 
        while (list[i] != NULL) {
                if (!strcmp(list[i], model_num)) {
-                       printk(KERN_WARNING DRV_NAME ": %s is not supported for %s.\n",
-                               modestr, list[i]);
+                       pr_warning(DRV_NAME ": %s is not supported for %s.\n",
+                                  modestr, list[i]);
                        return 1;
                }
                i++;