Messages in this thread Patch in this message | | | Date | Sun, 22 Feb 2004 01:04:25 +0000 | From | Dave Jones <> | Subject | Re: drivers/ieee1394/sbp2.c:734: error: `host' undeclared (first use in this function) 2.6.3-bk3 |
| |
On Sat, Feb 21, 2004 at 02:36:43PM -0700, Bob Gill wrote: > Hi. The whole error message is (when building 2.6.3-bk3): > drivers/ieee1394/sbp2.c: In function `sbp2_alloc_device': > drivers/ieee1394/sbp2.c:734: error: `host' undeclared (first use in this > function) > drivers/ieee1394/sbp2.c:734: error: (Each undeclared identifier is > reported only once > drivers/ieee1394/sbp2.c:734: error: for each function it appears in.) > make[2]: *** [drivers/ieee1394/sbp2.o] Error 1 > make[1]: *** [drivers/ieee1394] Error 2 > make: *** [drivers] Error 2
I've no hardware to test this, but does this do the right thing for you ?
Dave
--- linux-2.6.3/drivers/ieee1394/sbp2.c~ 2004-02-22 00:54:51.000000000 +0000 +++ linux-2.6.3/drivers/ieee1394/sbp2.c 2004-02-22 00:55:11.000000000 +0000 @@ -727,7 +727,7 @@ #ifdef CONFIG_IEEE1394_SBP2_PHYS_DMA /* Handle data movement if physical dma is not * enabled/supportedon host controller */ - hpsb_register_addrspace(&sbp2_highlevel, host, &sbp2_physdma_ops, + hpsb_register_addrspace(&sbp2_highlevel, hi->host, &sbp2_physdma_ops, 0x0ULL, 0xfffffffcULL); #endif } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |