Commit ad508ed8 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix iomem warnings in qlogicpti driver.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d24d354
...@@ -987,7 +987,7 @@ const char *qlogicpti_info(struct Scsi_Host *host) ...@@ -987,7 +987,7 @@ const char *qlogicpti_info(struct Scsi_Host *host)
static char buf[80]; static char buf[80];
struct qlogicpti *qpti = (struct qlogicpti *) host->hostdata; struct qlogicpti *qpti = (struct qlogicpti *) host->hostdata;
sprintf(buf, "PTI Qlogic,ISP SBUS SCSI irq %s regs at %lx", sprintf(buf, "PTI Qlogic,ISP SBUS SCSI irq %s regs at %p",
__irq_itoa(qpti->qhost->irq), qpti->qregs); __irq_itoa(qpti->qhost->irq), qpti->qregs);
return buf; return buf;
} }
......
...@@ -335,7 +335,7 @@ struct scsi_cmnd; ...@@ -335,7 +335,7 @@ struct scsi_cmnd;
/* Software state for the driver. */ /* Software state for the driver. */
struct qlogicpti { struct qlogicpti {
/* These are the hot elements in the cache, so they come first. */ /* These are the hot elements in the cache, so they come first. */
unsigned long qregs; /* Adapter registers */ void __iomem *qregs; /* Adapter registers */
struct pti_queue_entry *res_cpu; /* Ptr to RESPONSE bufs (CPU) */ struct pti_queue_entry *res_cpu; /* Ptr to RESPONSE bufs (CPU) */
struct pti_queue_entry *req_cpu; /* Ptr to REQUEST bufs (CPU) */ struct pti_queue_entry *req_cpu; /* Ptr to REQUEST bufs (CPU) */
...@@ -370,7 +370,7 @@ struct qlogicpti { ...@@ -370,7 +370,7 @@ struct qlogicpti {
struct host_param host_param; struct host_param host_param;
struct dev_param dev_param[MAX_TARGETS]; struct dev_param dev_param[MAX_TARGETS];
unsigned long sreg; void __iomem *sreg;
#define SREG_TPOWER 0x80 /* State of termpwr */ #define SREG_TPOWER 0x80 /* State of termpwr */
#define SREG_FUSE 0x40 /* State of on board fuse */ #define SREG_FUSE 0x40 /* State of on board fuse */
#define SREG_PDISAB 0x20 /* Disable state for power on */ #define SREG_PDISAB 0x20 /* Disable state for power on */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment