arm: Don't include common.h in header files
It is bad practice to include common.h in other header files since it can bring in any number of superfluous definitions. It implies that some C files don't include it and thus may be missing CONFIG options that are set up by that file. The C files should include these themselves. Update some header files in arch/arm to drop this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -10,10 +10,12 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <common.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#define NUM_SYS_CLKS 7
|
||||
|
||||
struct bd_info;
|
||||
|
||||
struct prcm_regs {
|
||||
/* cm1.ckgen */
|
||||
u32 cm_clksel_core;
|
||||
@@ -683,9 +685,9 @@ void omap_die_id(unsigned int *die_id);
|
||||
void gpi2c_init(void);
|
||||
|
||||
/* Common FDT Fixups */
|
||||
int ft_hs_disable_rng(void *fdt, bd_t *bd);
|
||||
int ft_hs_fixup_dram(void *fdt, bd_t *bd);
|
||||
int ft_hs_add_tee(void *fdt, bd_t *bd);
|
||||
int ft_hs_disable_rng(void *fdt, struct bd_info *bd);
|
||||
int ft_hs_fixup_dram(void *fdt, struct bd_info *bd);
|
||||
int ft_hs_add_tee(void *fdt, struct bd_info *bd);
|
||||
|
||||
/* ABB */
|
||||
#define OMAP_ABB_NOMINAL_OPP 0
|
||||
|
Reference in New Issue
Block a user