[PATCH v2.6.26] powerpc: Fix a bunch of sparse warnings in the qe_lib

Andy Fleming afleming at freescale.com
Sat May 3 09:59:37 EST 2008


On May 2, 2008, at 13:07, Scott Wood wrote:

> Andy Fleming wrote:
>> +	struct qe_iram __iomem	iram;		/* I-RAM */
>> +	struct qe_ic_regs __iomem ic;		/* Interrupt Controller */
>> +	struct cp_qe __iomem	cp;		/* Communications Processor */
>> +	struct qe_mux __iomem	qmx;		/* QE Multiplexer */
>> +	struct qe_timers __iomem qet;		/* QE Timers */
>> +	struct spi __iomem	spi[0x2];	/* spi */
>> +	struct mcc __iomem	mcc;		/* mcc */
>> +	struct qe_brg __iomem	brg;		/* brg */
>> +	struct usb_ctlr __iomem	usb;		/* USB */
>> +	struct si1 __iomem	si1;		/* SI */
>
> Why not just set __iomem on qe_immap references?

Does that work?  I'm not quite clear on how the scope for __iomem works.

I can definitely do that, though.



More information about the Linuxppc-dev mailing list