linux/arch/powerpc/platforms/512x
Brian Norris 7e198197ec powerpc/mpc512x: remove unnecessary #if
Several functions are only ever referenced locally, so make them static.
Of those functions, many of them are protected by an #if. However, the
code which can compile fine in either case.

Now that (1) the unneeded code is marked 'static' and (2) the code is
only used under a C 'if (IS_ENABLED(CONFIG_FB_FSL_DIU))', the compiler
can automatically remove the unneeded code, and we don't need the #if or
the empty stub functions.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
2013-10-30 22:56:10 +01:00
..
clock.c powerpc/mpc512x: add platform code for MPC5125. 2013-04-10 20:37:43 +02:00
Kconfig Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-02 10:16:16 -07:00
Makefile powerpc/512x: move mpc5121_generic platform to mpc512x_generic. 2013-04-01 09:25:00 +02:00
mpc512x_generic.c powerpc/mpc512x: move common code to shared.c file 2013-05-21 10:58:39 +02:00
mpc512x_shared.c powerpc/mpc512x: remove unnecessary #if 2013-10-30 22:56:10 +01:00
mpc512x.h powerpc/mpc512x: add MPC5125 reset module support for system restart 2013-06-24 21:36:49 +02:00
mpc5121_ads_cpld.c irq_domain/powerpc: constify irq_domain_ops 2012-02-16 06:11:24 -07:00
mpc5121_ads.c powerpc/mpc512x: move common code to shared.c file 2013-05-21 10:58:39 +02:00
mpc5121_ads.h powerpc/mpc5121: Add support for CPLD on MPC5121ADS board 2008-07-12 12:10:55 -06:00
pdm360ng.c powerpc/mpc512x: move common code to shared.c file 2013-05-21 10:58:39 +02:00