public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* linux-next: sparc/firmware build failure
@ 2008-09-01  9:10 Stephen Rothwell
  2008-09-01  9:46 ` David Miller
  2008-10-28 10:45 ` Stephen Rothwell
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2008-09-01  9:10 UTC (permalink / raw)
  To: David Woodhouse, David Miller; +Cc: linux-next, Jaswinder Singh

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 <sfr@canb•auug.org.au>
Date: Mon, 1 Sep 2008 18:56:52 +1000
Subject: [PATCH] sparc: qlogicpti fallout from sbus removal

Signed-off-by: Stephen Rothwell <sfr@canb•auug.org.au>
---
 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

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-11-18 20:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-01  9:10 linux-next: sparc/firmware build failure Stephen Rothwell
2008-09-01  9:46 ` David Miller
2008-10-28 10:45 ` Stephen Rothwell
2008-10-28 11:42   ` David Woodhouse
2008-10-28 12:07     ` Stephen Rothwell
2008-11-03  3:55     ` Stephen Rothwell
2008-11-05  6:02       ` Stephen Rothwell
2008-11-06  2:44         ` Stephen Rothwell
2008-11-13  3:35           ` Stephen Rothwell
2008-11-13  6:57             ` David Miller
2008-11-18 15:37               ` David Woodhouse
2008-11-18 20:09                 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox