]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/sun_esp.c
ALSA: Increase components array size
[linux-2.6-omap-h63xx.git] / drivers / scsi / sun_esp.c
index bbeb2451d32f950432b604ecfb18fa3a13f59b00..f9cf7015136648380aa6bc86f18809ed3eacd2c5 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/types.h>
 #include <linux/delay.h>
 #include <linux/module.h>
+#include <linux/mm.h>
 #include <linux/init.h>
 
 #include <asm/irq.h>
@@ -493,7 +494,7 @@ static int __devinit esp_sbus_probe_one(struct device *dev,
                goto fail;
 
        host->max_id = (hme ? 16 : 8);
-       esp = host_to_esp(host);
+       esp = shost_priv(host);
 
        esp->host = host;
        esp->dev = esp_dev;