mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[POWERPC] 8xx: Get rid of conditional includes of board specific setup
Directly include mpc885ads.h from mpc885ads_setup.c. Now we can get rid of the arch dependent includes in mpc8xx.h. Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
49b51545ff
commit
02753cb608
3 changed files with 2 additions and 22 deletions
|
|
@ -4,29 +4,9 @@
|
|||
* file that has to include MPC8xx configuration, they all include
|
||||
* this one and the configuration switching is done here.
|
||||
*/
|
||||
#ifdef __KERNEL__
|
||||
#ifndef __CONFIG_8xx_DEFS
|
||||
#define __CONFIG_8xx_DEFS
|
||||
|
||||
|
||||
#ifdef CONFIG_8xx
|
||||
|
||||
#ifdef CONFIG_FADS
|
||||
#include <platforms/fads.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MPC86XADS)
|
||||
#include <platforms/8xx/mpc86xads.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MPC885ADS)
|
||||
#include <platforms/8xx/mpc885ads.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCMCIA_M8XX
|
||||
extern struct mpc8xx_pcmcia_ops m8xx_pcmcia_ops;
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_8xx */
|
||||
#endif /* __CONFIG_8xx_DEFS */
|
||||
#endif /* __KERNEL__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue