}
}
+u32 exynos_eint_to_pin_num(int eint)
+{
+ struct samsung_pinctrl_drv_data *drvdata;
+ struct samsung_pin_bank *pbank;
+ int i, offset = 0;
+
+ drvdata = list_first_entry(&drvdata_list,
+ struct samsung_pinctrl_drv_data, node);
+
+ for (i = 0; i < drvdata->nr_banks; i++) {
+ pbank = &drvdata->pin_banks[i];
+ if (!strncmp(pbank->name, "gpa0", strlen(pbank->name)))
+ break;
+
+ offset += pbank->nr_pins;
+ }
+
+ return drvdata->pin_base + eint + offset;
+}
+
#else
#define samsung_pinctrl_suspend NULL
#define samsung_pinctrl_resume NULL