|
@@ -18,7 +18,6 @@
|
|
|
*/
|
|
|
|
|
|
#include <linux/io.h>
|
|
|
-#include <linux/platform_data/gpio-omap.h>
|
|
|
#include <linux/platform_data/hsmmc-omap.h>
|
|
|
#include <linux/power/smartreflex.h>
|
|
|
#include <linux/i2c-omap.h>
|
|
@@ -627,12 +626,6 @@ static struct omap_hwmod_class omap54xx_gpio_hwmod_class = {
|
|
|
.rev = 2,
|
|
|
};
|
|
|
|
|
|
-/* gpio dev_attr */
|
|
|
-static struct omap_gpio_dev_attr gpio_dev_attr = {
|
|
|
- .bank_width = 32,
|
|
|
- .dbck_flag = true,
|
|
|
-};
|
|
|
-
|
|
|
/* gpio1 */
|
|
|
static struct omap_hwmod_opt_clk gpio1_opt_clks[] = {
|
|
|
{ .role = "dbclk", .clk = "gpio1_dbclk" },
|
|
@@ -652,7 +645,6 @@ static struct omap_hwmod omap54xx_gpio1_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio1_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio1_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* gpio2 */
|
|
@@ -675,7 +667,6 @@ static struct omap_hwmod omap54xx_gpio2_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio2_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio2_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* gpio3 */
|
|
@@ -698,7 +689,6 @@ static struct omap_hwmod omap54xx_gpio3_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio3_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio3_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* gpio4 */
|
|
@@ -721,7 +711,6 @@ static struct omap_hwmod omap54xx_gpio4_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio4_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio4_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* gpio5 */
|
|
@@ -744,7 +733,6 @@ static struct omap_hwmod omap54xx_gpio5_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio5_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio5_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* gpio6 */
|
|
@@ -767,7 +755,6 @@ static struct omap_hwmod omap54xx_gpio6_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio6_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio6_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* gpio7 */
|
|
@@ -790,7 +777,6 @@ static struct omap_hwmod omap54xx_gpio7_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio7_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio7_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/* gpio8 */
|
|
@@ -813,7 +799,6 @@ static struct omap_hwmod omap54xx_gpio8_hwmod = {
|
|
|
},
|
|
|
.opt_clks = gpio8_opt_clks,
|
|
|
.opt_clks_cnt = ARRAY_SIZE(gpio8_opt_clks),
|
|
|
- .dev_attr = &gpio_dev_attr,
|
|
|
};
|
|
|
|
|
|
/*
|