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:
Kees Jongenburger
2014-01-10 12:00:13 +01:00
parent aaafe4b435
commit 6f4a88c1d2
2 changed files with 23 additions and 15 deletions

View File

@@ -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 */