diff options
author | Helge Deller <deller@gmx.de> | 2009-01-13 21:14:51 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@treachery.i.cabal.ca> | 2009-03-13 01:18:14 -0400 |
commit | 7f384ce780c6091968fc848b14f17b45cb849e14 (patch) | |
tree | 2c727e70cdb971009dd5bd44767e12a0bc68a721 /drivers/scsi/lasi700.c | |
parent | ddd1f6c66dd964c106377f2be37b318794f112f4 (diff) | |
download | linux-next-7f384ce780c6091968fc848b14f17b45cb849e14.tar.gz |
parisc: fix dev_printk() compile warnings for accessing a device struct
Fix compile warnings:
drivers/scsi/zalon.c: In function `zalon_probe':
drivers/scsi/zalon.c:140: warning: passing arg 1 of `dev_driver_string' from incompatible pointer type
drivers/scsi/zalon.c:140: warning: passing arg 1 of `dev_name' from incompatible pointer type
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'drivers/scsi/lasi700.c')
-rw-r--r-- | drivers/scsi/lasi700.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lasi700.c b/drivers/scsi/lasi700.c index 4a4e6954ec79..f23c4ca9a2ee 100644 --- a/drivers/scsi/lasi700.c +++ b/drivers/scsi/lasi700.c @@ -103,7 +103,7 @@ lasi700_probe(struct parisc_device *dev) hostdata = kzalloc(sizeof(*hostdata), GFP_KERNEL); if (!hostdata) { - dev_printk(KERN_ERR, dev, "Failed to allocate host data\n"); + dev_printk(KERN_ERR, &dev->dev, "Failed to allocate host data\n"); return -ENOMEM; } |