From: Kim Phillips Date: Fri, 11 Jan 2013 22:23:59 +0000 (-0600) Subject: mtd: fsl_ifc_nand: use more portable i/o accessors X-Git-Tag: v3.9-rc1~18^2~25 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c69fb037a6bb1faf06ea776872da54a6705c154;p=pandora-kernel.git mtd: fsl_ifc_nand: use more portable i/o accessors in/out_be32 accessors are Power arch centric whereas ioread/writebe32 are available in other arches. Since the IFC device registers are annotated big endian in fsl_ifc.h, the accessor annotations now match, resulting in the pleasant side-effect of this patch silencing sparse endian warnings such as the following: drivers/mtd/nand/fsl_ifc_nand.c:179:19: warning: incorrect type in argument 1 (different base types) drivers/mtd/nand/fsl_ifc_nand.c:179:19: expected unsigned int volatile [noderef] [usertype] *addr drivers/mtd/nand/fsl_ifc_nand.c:179:19: got restricted __be32 [noderef] * Signed-off-by: Kim Phillips Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed