]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/misc/fsl_law.c: Rearrange code to avoid duplication
authorBecky Bruce <beckyb@kernel.crashing.org>
Thu, 17 Jun 2010 16:37:23 +0000 (11:37 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 16 Jul 2010 15:55:09 +0000 (10:55 -0500)
commite71755f887ca03a27641947a97210ac273e146ee
tree8372ce1ffc62b7615c88b82c5ee9facfcaf610c0
parent70e02bca6bdd18e03a5e2c0265126ef277e635b3
drivers/misc/fsl_law.c: Rearrange code to avoid duplication

The current code redefines functions based on FSL_CORENET_ vs not -
create macros/inlines instead that hide the differences.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/fsl_law.h
drivers/misc/fsl_law.c