Make fdt_pm_mask_table internal to the Marvell code, it's unued anywhere

else.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
andrew 2017-01-26 13:04:14 +00:00
parent 60cc8a6c2e
commit 78000f6960
2 changed files with 6 additions and 7 deletions

View File

@ -149,7 +149,12 @@ static struct soc_node_spec soc_nodes[] = {
{ NULL, NULL, NULL },
};
struct fdt_pm_mask_entry fdt_pm_mask_table[] = {
struct fdt_pm_mask_entry {
char *compat;
uint32_t mask;
};
static struct fdt_pm_mask_entry fdt_pm_mask_table[] = {
{ "mrvl,ge", CPU_PM_CTRL_GE(0) },
{ "mrvl,ge", CPU_PM_CTRL_GE(1) },
{ "mrvl,usb-ehci", CPU_PM_CTRL_USB(0) },

View File

@ -71,12 +71,6 @@ extern vm_paddr_t fdt_immr_pa;
extern vm_offset_t fdt_immr_va;
extern vm_offset_t fdt_immr_size;
struct fdt_pm_mask_entry {
char *compat;
uint32_t mask;
};
extern struct fdt_pm_mask_entry fdt_pm_mask_table[];
#if defined(FDT_DTB_STATIC)
extern u_char fdt_static_dtb;
#endif