read/write chromeos vbc with sysfs
[cascardo/linux.git] / include / linux / chromeos_platform.h
index c02e5fd..3474c6a 100644 (file)
@@ -16,6 +16,8 @@
  */
 extern int chromeos_set_need_recovery(void);
 extern int chromeos_set_dev_usb(void);
+int chromeos_vbc_read(u8 *buf, int buf_size);
+int chromeos_vbc_write(const u8 *buf, int buf_size);
 
 #else
 
@@ -28,6 +30,16 @@ static inline int chromeos_set_dev_usb(void)
 {
        return -ENODEV;
 }
+static inline int chromeos_vbc_read(u8 *buf, int buf_size)
+{
+       return -ENODEV;
+}
+
+static inline int chromeos_vbc_write(const u8 *buf, int buf_size)
+{
+       return -ENODEV;
+}
+
 #endif /* CONFIG_CHROMEOS */
 
 #endif /* _LINUX_CHROMEOS_PLATFORM_H */