enic: use netdev_<foo> or dev_<foo> instead of pr_<foo>
[cascardo/linux.git] / drivers / net / ethernet / cisco / enic / vnic_intr.c
index 0ca107f..942759d 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "vnic_dev.h"
 #include "vnic_intr.h"
+#include "enic.h"
 
 void vnic_intr_free(struct vnic_intr *intr)
 {
@@ -39,7 +40,7 @@ int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
 
        intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index);
        if (!intr->ctrl) {
-               pr_err("Failed to hook INTR[%d].ctrl resource\n", index);
+               vdev_err("Failed to hook INTR[%d].ctrl resource\n", index);
                return -EINVAL;
        }