Title: [9049] trunk/include/linux/i2c/adp5588.h: gpio_start must be signed
Revision
9049
Author
hennerich
Date
2010-08-05 03:13:13 -0400 (Thu, 05 Aug 2010)

Log Message

gpio_start must be signed
base: identifies the first GPIO number handled by this chip; or, if
negative during registration, requests dynamic ID allocation.

Modified Paths

Diff

Modified: trunk/include/linux/i2c/adp5588.h (9048 => 9049)


--- trunk/include/linux/i2c/adp5588.h	2010-08-04 11:25:58 UTC (rev 9048)
+++ trunk/include/linux/i2c/adp5588.h	2010-08-05 07:13:13 UTC (rev 9049)
@@ -128,9 +128,9 @@
 struct i2c_client; /* forward declaration */
 
 struct adp5588_gpio_platform_data {
-	unsigned gpio_start;		/* GPIO Chip base # */
-	unsigned irq_base;		/* interrupt base # */
-	unsigned pullup_dis_mask;	/* Pull-Up Disable Mask */
+	int gpio_start;		/* GPIO Chip base # */
+	unsigned irq_base;	/* interrupt base # */
+	unsigned pullup_dis_mask; /* Pull-Up Disable Mask */
 	int	(*setup)(struct i2c_client *client,
 				int gpio, unsigned ngpio,
 				void *context);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to