cad5cef62a
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
768 B
C
31 lines
768 B
C
#ifndef __WSP_H
|
|
#define __WSP_H
|
|
|
|
#include <asm/wsp.h>
|
|
|
|
/* Devtree compatible strings for major devices */
|
|
#define PCIE_COMPATIBLE "ibm,wsp-pciex"
|
|
|
|
extern void wsp_setup_arch(void);
|
|
extern void wsp_setup_irq(void);
|
|
extern int wsp_probe_devices(void);
|
|
extern void wsp_halt(void);
|
|
|
|
extern void wsp_setup_pci(void);
|
|
extern void scom_init_wsp(void);
|
|
|
|
extern void a2_setup_smp(void);
|
|
extern int a2_scom_startup_cpu(unsigned int lcpu, int thr_idx,
|
|
struct device_node *np);
|
|
extern int smp_a2_cpu_bootable(unsigned int nr);
|
|
extern int smp_a2_kick_cpu(int nr);
|
|
|
|
extern void opb_pic_init(void);
|
|
|
|
/* chroma specific managment */
|
|
extern void wsp_h8_restart(char *cmd);
|
|
extern void wsp_h8_power_off(void);
|
|
extern void __init wsp_setup_h8(void);
|
|
|
|
#endif /* __WSP_H */
|