ARM: at91: fix NAND bus width decoding from system_rev
authorChristian Hitz <christian.hitz@aizo.com>
Mon, 24 Oct 2011 06:57:32 +0000 (08:57 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 28 Nov 2011 11:10:34 +0000 (12:10 +0100)
commita5f70b6717a229ad10aa79382a29a8ee6f1976c3
treebd5f4d210f4fcb03b32c29a2ae96486a7d92668e
parentcaca6a03d365883564885f2c1da3e88dcf65d139
ARM: at91: fix NAND bus width decoding from system_rev

Make it is safe to assign the return value of this function
to u8/u16 variables.

Signed-off-by: Christian Hitz <christian.hitz@aizo.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/include/mach/system_rev.h