]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00317981: busfreq: fix the use of MT_MEMORY_NONCACHED
authorShawn Guo <shawn.guo@freescale.com>
Thu, 12 Jun 2014 02:56:24 +0000 (10:56 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:20 +0000 (21:16 -0600)
commitc07385cbc1f477f33fded65a4274afc74dc1010a
tree1329ece1ed455232b19ee32c6b437e8e84a14a72
parent4ba3f76ddf029783df700fa559289f5eedd5903d
ENGR00317981: busfreq: fix the use of MT_MEMORY_NONCACHED

Since commit 2e2c9de207be (ARM: add permission annotations to MT_MEMORY*
mapping types), MT_MEMORY_NONCACHED is not available any more.  Thus, we
see following build error.

  CC      arch/arm/mach-imx/busfreq_ddr3.o
arch/arm/mach-imx/busfreq_ddr3.c: In function ‘init_mmdc_settings’:
arch/arm/mach-imx/busfreq_ddr3.c:464:7: error: ‘MT_MEMORY_NONCACHED’ undeclared (first use in this function)

Fix it by using the new enum MT_MEMORY_RWX_NONCACHED.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/busfreq_ddr3.c