extern int sm501_unit_power(struct device *dev,
unsigned int unit, unsigned int to);
extern unsigned long sm501_set_clock(struct device *dev,
int clksrc, unsigned long freq);
extern unsigned long sm501_find_clock(struct device *dev,
int clksrc, unsigned long req_freq);
extern int sm501_misc_control(struct device *dev,
unsigned long set, unsigned long clear);
extern unsigned long sm501_modify_reg(struct device *dev,
unsigned long reg,
unsigned long set,
unsigned long clear);
#define SM501FB_FLAG_USE_INIT_MODE …
#define SM501FB_FLAG_DISABLE_AT_EXIT …
#define SM501FB_FLAG_USE_HWCURSOR …
#define SM501FB_FLAG_USE_HWACCEL …
#define SM501FB_FLAG_PANEL_NO_FPEN …
#define SM501FB_FLAG_PANEL_NO_VBIASEN …
#define SM501FB_FLAG_PANEL_INV_FPEN …
#define SM501FB_FLAG_PANEL_INV_VBIASEN …
struct sm501_platdata_fbsub { … };
enum sm501_fb_routing { … };
#define SM501_FBPD_SWAP_FB_ENDIAN …
struct sm501_platdata_fb { … };
struct sm501_platdata_gpio_i2c { … };
struct sm501_reg_init { … };
#define SM501_USE_USB_HOST …
#define SM501_USE_USB_SLAVE …
#define SM501_USE_SSP0 …
#define SM501_USE_SSP1 …
#define SM501_USE_UART0 …
#define SM501_USE_UART1 …
#define SM501_USE_FBACCEL …
#define SM501_USE_AC97 …
#define SM501_USE_I2S …
#define SM501_USE_GPIO …
#define SM501_USE_ALL …
struct sm501_initdata { … };
struct sm501_init_gpio { … };
#define SM501_FLAG_SUSPEND_OFF …
struct sm501_platdata { … };
#if defined(CONFIG_PPC32)
#define smc501_readl …
#define smc501_writel …
#else
#define smc501_readl(addr) …
#define smc501_writel(val, addr) …
#endif