8250: fix boot hang with serial console when using with Serial Over Lan port
[sfrench/cifs-2.6.git] / include / linux / pda_power.h
index 1375f15797e7d919970735796a6d7093df0cfec7..cb7d10f3076343f2e60e5a853411c05aefd6eb0f 100644 (file)
 #define PDA_POWER_CHARGE_AC  (1 << 0)
 #define PDA_POWER_CHARGE_USB (1 << 1)
 
+struct device;
+
 struct pda_power_pdata {
+       int (*init)(struct device *dev);
        int (*is_ac_online)(void);
        int (*is_usb_online)(void);
        void (*set_charge)(int flags);
+       void (*exit)(struct device *dev);
 
        char **supplied_to;
        size_t num_supplicants;
 
        unsigned int wait_for_status; /* msecs, default is 500 */
        unsigned int wait_for_charger; /* msecs, default is 500 */
+       unsigned int polling_interval; /* msecs, default is 2000 */
 };
 
 #endif /* __PDA_POWER_H__ */