arm:fix GPIO revision check on DM37XX.
The GPIO revision check assumed the major and minor revision numbers where located at same location in the register. This is not true. Change-Id: Ieaff07ed8a19e6b4cf1d121a41d3290880b78a82
This commit is contained in:
@@ -53,7 +53,7 @@ struct gpio_cbdata
|
||||
{
|
||||
struct gpio *gpio; /* obtained from the driver */
|
||||
int type; /* read=0/on=1/off=2 */
|
||||
TAILQ_ENTRY(gpio_cbdata) next;
|
||||
TAILQ_ENTRY(gpio_cbdata) next;
|
||||
};
|
||||
|
||||
/* list of inodes used in this driver */
|
||||
|
||||
Reference in New Issue
Block a user