diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2011-01-10 18:34:27 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-01-28 08:07:04 (GMT) |
commit | bfdd7c58cf3392333bba161491a2ef0741b970ba (patch) | |
tree | 6aea2aef6ce3e8b8ca7c4f6435d00d2c09ae104d /drivers/ata/pata_hpt366.c | |
parent | 77c5fd19075d299fe820bb59bb21b0b113676e20 (diff) | |
download | linux-fsl-qoriq-bfdd7c58cf3392333bba161491a2ef0741b970ba.tar.xz |
pata_hpt{366|37x}: use pr_warning(...) instead of printk(KERN_WARNING ...)
... in hpt_dma_blacklisted().
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_hpt366.c')
-rw-r--r-- | drivers/ata/pata_hpt366.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c index d7e57db..538ec38 100644 --- a/drivers/ata/pata_hpt366.c +++ b/drivers/ata/pata_hpt366.c @@ -25,7 +25,7 @@ #include <linux/libata.h> #define DRV_NAME "pata_hpt366" -#define DRV_VERSION "0.6.9" +#define DRV_VERSION "0.6.10" struct hpt_clock { u8 xfer_mode; @@ -160,8 +160,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++; |