]> Pileus Git - ~andy/linux/blobdiff - drivers/parisc/asp.c
spi: pxa2xx_spi: introduce chipselect GPIO to simplify the common cases
[~andy/linux] / drivers / parisc / asp.c
index 821369135369c52c0e141a10867e3233b655293f..9ca21098b146c73e54e0facbf101e657e21ddaa0 100644 (file)
@@ -71,8 +71,7 @@ static void asp_choose_irq(struct parisc_device *dev, void *ctrl)
  */
 #define ASP_INTERRUPT_ADDR 0xf0800000
 
-int __init
-asp_init_chip(struct parisc_device *dev)
+static int __init asp_init_chip(struct parisc_device *dev)
 {
        struct gsc_irq gsc_irq;
        int ret;
@@ -82,7 +81,7 @@ asp_init_chip(struct parisc_device *dev)
        asp.hpa = ASP_INTERRUPT_ADDR;
 
        printk(KERN_INFO "%s version %d at 0x%lx found.\n", 
-               asp.name, asp.version, dev->hpa.start);
+               asp.name, asp.version, (unsigned long)dev->hpa.start);
 
        /* the IRQ ASP should use */
        ret = -EBUSY;