diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2006-07-12 15:40:51 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-07-31 15:55:05 +1000 |
commit | 294ef16a2ee34d0d94aa63616f7552d3bc66c982 (patch) | |
tree | fd41d15117e97a756566a040ca9833e76ea8e525 /drivers/scsi/mac53c94.c | |
parent | b04e3dd4ab4c7763a4ca8f751caaf69ce8dabbba (diff) | |
download | linux-294ef16a2ee34d0d94aa63616f7552d3bc66c982.tar.bz2 |
[POWERPC] scsi: Constify & voidify get_property()
Now that get_property() returns a void *, there's no need to cast its
return value. Also, treat the return value as const, so we can
constify get_property later.
powerpc-specific scsi driver changes.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/scsi/mac53c94.c')
-rw-r--r-- | drivers/scsi/mac53c94.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mac53c94.c b/drivers/scsi/mac53c94.c index 93edaa8696cf..c77f6f2581f7 100644 --- a/drivers/scsi/mac53c94.c +++ b/drivers/scsi/mac53c94.c @@ -431,7 +431,7 @@ static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *mat struct fsc_state *state; struct Scsi_Host *host; void *dma_cmd_space; - unsigned char *clkprop; + const unsigned char *clkprop; int proplen, rc = -ENODEV; if (macio_resource_count(mdev) != 2 || macio_irq_count(mdev) != 2) { |