diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/mpic.h | 3 | ||||
-rw-r--r-- | include/asm-powerpc/prom.h | 2 | ||||
-rw-r--r-- | include/asm-ppc/system.h | 1 | ||||
-rw-r--r-- | include/linux/of_platform.h | 4 |
4 files changed, 7 insertions, 3 deletions
diff --git a/include/asm-powerpc/mpic.h b/include/asm-powerpc/mpic.h index 2ffb06abe88..262db6b8da7 100644 --- a/include/asm-powerpc/mpic.h +++ b/include/asm-powerpc/mpic.h @@ -296,6 +296,9 @@ struct mpic unsigned int dcr_base; #endif + /* Protected sources */ + unsigned long *protected; + #ifdef CONFIG_MPIC_WEIRD /* Pointer to HW info array */ u32 *hw_set; diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 6e391c9894c..672083787a1 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h @@ -139,7 +139,7 @@ extern unsigned long __init of_get_flat_dt_root(void); /* For updating the device tree at runtime */ extern void of_attach_node(struct device_node *); -extern void of_detach_node(const struct device_node *); +extern void of_detach_node(struct device_node *); /* Other Prototypes */ extern void finish_device_tree(void); diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h index f1311a8f310..cc45780421c 100644 --- a/include/asm-ppc/system.h +++ b/include/asm-ppc/system.h @@ -54,6 +54,7 @@ extern void show_regs(struct pt_regs * regs); extern void flush_instruction_cache(void); extern void hard_reset_now(void); extern void poweroff_now(void); +extern int set_dabr(unsigned long dabr); #ifdef CONFIG_6xx extern long _get_L2CR(void); extern long _get_L3CR(void); diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index 5fd44e63fb2..448f70b30a0 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h @@ -31,8 +31,8 @@ extern struct bus_type of_platform_bus_type; */ struct of_platform_driver { - char *name; - struct of_device_id *match_table; + const char *name; + const struct of_device_id *match_table; struct module *owner; int (*probe)(struct of_device* dev, |