summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/nand_ids.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2013-01-11 16:23:59 -0600
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-04 09:26:30 +0200
commit0c69fb037a6bb1faf06ea776872da54a6705c154 (patch)
treeb9915d1cd623fc6b0652fb9345c5b633eb35488d /drivers/mtd/nand/nand_ids.c
parent44fe63fc0fcbfef65b5a8c015abb4dbbbcc90f23 (diff)
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] <asn:2>*addr drivers/mtd/nand/fsl_ifc_nand.c:179:19: got restricted __be32 [noderef] <asn:2>*<noident> Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/nand/nand_ids.c')
0 files changed, 0 insertions, 0 deletions