linux-next: sparc/firmware build failure
From: Stephen Rothwell <hidden>
Date: 2008-09-01 09:10:24
Subsystem:
scsi subsystem, the rest · Maintainers:
"James E.J. Bottomley", "Martin K. Petersen", Linus Torvalds
From: Stephen Rothwell <hidden>
Date: 2008-09-01 09:10:24
Subsystem:
scsi subsystem, the rest · Maintainers:
"James E.J. Bottomley", "Martin K. Petersen", Linus Torvalds
Hi all,
Today's linux-next build (sparc defconfig) failed like this:
drivers/scsi/qlogicpti.c:478: error: structure has no member named `sdev'
Caused by a combination of commits
5dc2536bb8d8adb5fdfbe76cd6fdcdf9de3f40f8 ("qlogicpti: Convert to pure OF
driver") from the sparc tree and 229d9a03273684dc2175821be4104dbaa52f3ce0
("qlogicpti: use request_firmware") from the firmware tree.
I have applied the following patch. I will carry this patch unless a
better solution comes along.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
From: Stephen Rothwell <redacted>
Date: Mon, 1 Sep 2008 18:56:52 +1000
Subject: [PATCH] sparc: qlogicpti fallout from sbus removal
Signed-off-by: Stephen Rothwell <redacted>
---
drivers/scsi/qlogicpti.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c
index 3d59655..fb9c875 100644
--- a/drivers/scsi/qlogicpti.c
+++ b/drivers/scsi/qlogicpti.c@@ -475,7 +475,7 @@ static int __devinit qlogicpti_load_firmware(struct qlogicpti *qpti) unsigned long flags; int i, timeout; - err = request_firmware(&fw, fwname, &qpti->sdev->ofdev.dev); + err = request_firmware(&fw, fwname, &qpti->op->dev); if (err) { printk(KERN_ERR "Failed to load image \"%s\" err %d\n", fwname, err);
--
1.5.6.5