[SPARC/64] constify of_get_property return: drivers
The only unfortunate bit here is that the name field of struct map_info is not const, so for now we put a cast on the assignment of it. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6a23acf390
commit
ccf0dec6fc
@@ -1403,7 +1403,7 @@ static int __devinit qpti_sbus_probe(struct of_device *dev, const struct of_devi
|
||||
struct scsi_host_template *tpnt = match->data;
|
||||
struct Scsi_Host *host;
|
||||
struct qlogicpti *qpti;
|
||||
char *fcode;
|
||||
const char *fcode;
|
||||
|
||||
/* Sometimes Antares cards come up not completely
|
||||
* setup, and we get a report of a zero IRQ.
|
||||
|
Reference in New Issue
Block a user