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

Scott Wood scottwood at freescale.com
Sat May 3 04:07:44 EST 2008


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?

-Scott



More information about the Linuxppc-dev mailing list