Platform: OLPC: turn EC driver into a platform_driver
[sfrench/cifs-2.6.git] / include / linux / olpc-ec.h
index 231e96f5dfe268046868083b75c3bed7f851534a..5bb6e760aa61220813ac8e1c29b47cf29660f37c 100644 (file)
 #define EC_SCI_QUERY                   0x84
 #define EC_EXT_SCI_QUERY               0x85
 
+struct platform_device;
+
 struct olpc_ec_driver {
+       int (*probe)(struct platform_device *);
+       int (*suspend)(struct platform_device *);
+       int (*resume)(struct platform_device *);
+
        int (*ec_cmd)(u8, u8 *, size_t, u8 *, size_t, void *);
 };