powerpc/ps3: Printing fixups for l64 to ll64 conversion drivers/scsi
[safe/jmp/linux-2.6] / drivers / scsi / sni_53c710.c
index 0a6b45b..77f0b2c 100644 (file)
@@ -53,6 +53,7 @@
 MODULE_AUTHOR("Thomas Bogendörfer");
 MODULE_DESCRIPTION("SNI RM 53c710 SCSI Driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:snirm_53c710");
 
 #define SNIRM710_CLOCK 32
 
@@ -77,8 +78,7 @@ static int __init snirm710_probe(struct platform_device *dev)
        base = res->start;
        hostdata = kzalloc(sizeof(*hostdata), GFP_KERNEL);
        if (!hostdata) {
-               printk(KERN_ERR "%s: Failed to allocate host data\n",
-                      dev->dev.bus_id);
+               dev_printk(KERN_ERR, dev, "Failed to allocate host data\n");
                return -ENOMEM;
        }
 
@@ -136,6 +136,7 @@ static struct platform_driver snirm710_driver = {
        .remove = __devexit_p(snirm710_driver_remove),
        .driver = {
                .name   = "snirm_53c710",
+               .owner  = THIS_MODULE,
        },
 };