]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sm501.h
ide: add drive->debug_mask switch
[linux-2.6-omap-h63xx.git] / include / linux / sm501.h
index a8d02f36ad3263485f4afccdeba32e5a5041f5c6..214f93209b8c0fb847971b41f0b5ea242b241e8a 100644 (file)
@@ -86,11 +86,19 @@ struct sm501_platdata_fb {
        struct sm501_platdata_fbsub     *fb_pnl;
 };
 
-/* gpio i2c */
+/* gpio i2c
+ *
+ * Note, we have to pass in the bus number, as the number used will be
+ * passed to the i2c-gpio driver's platform_device.id, subsequently used
+ * to register the i2c bus.
+*/
 
 struct sm501_platdata_gpio_i2c {
+       unsigned int            bus_num;
        unsigned int            pin_sda;
        unsigned int            pin_scl;
+       int                     udelay;
+       int                     timeout;
 };
 
 /* sm501_initdata