Fix cpu_is_omap1610() tests in gpio.c. This was suggested by
Kyungmin Park. Also recent 24xx patch added two more
cpu_is_omap1610() tests.
/* Enable system clock for GPIO module.
* The CAM_CLK_CTRL *is* really the right place. */
- if (cpu_is_omap1610() || cpu_is_omap1710())
+ if (cpu_is_omap16xx())
omap_writel(omap_readl(ULPD_CAM_CLK_CTRL) | 0x04, ULPD_CAM_CLK_CTRL);
return 0;
{
int i;
- if (!cpu_is_omap24xx() && !cpu_is_omap1610())
+ if (!cpu_is_omap24xx() && !cpu_is_omap16xx())
return 0;
for (i = 0; i < gpio_bank_count; i++) {
{
int i;
- if (!cpu_is_omap24xx() && !cpu_is_omap1610())
+ if (!cpu_is_omap24xx() && !cpu_is_omap16xx())
return 0;
for (i = 0; i < gpio_bank_count; i++) {