]> git.baikalelectronics.ru Git - kernel.git/commit
mtd/nand/fsl_upm: Replace the dangerous to_fsl_upm_nand macro
authorFerenc Wagner <wferi@niif.hu>
Tue, 23 Mar 2010 17:08:16 +0000 (18:08 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 10 May 2010 13:18:28 +0000 (14:18 +0100)
commit38875913f92ad01da2be53833fa6e416a63a4563
tree7a15134bffaac57055c731ba68290ba248f7e244
parent18d737891f55310e10b20034834741192056814d
mtd/nand/fsl_upm: Replace the dangerous to_fsl_upm_nand macro

The original macro worked only when applied to variables named 'mtd'.
While this could have been fixed by simply renaming the macro argument,
a more type-safe replacement is preferred.

Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_upm.c