summaryrefslogtreecommitdiffstats
path: root/include/linux/rtc-v3020.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rtc-v3020.h')
-rw-r--r--include/linux/rtc-v3020.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/rtc-v3020.h b/include/linux/rtc-v3020.h
index bf74e63c98fe..8ba646e610d9 100644
--- a/include/linux/rtc-v3020.h
+++ b/include/linux/rtc-v3020.h
@@ -14,6 +14,12 @@
* is used depends on the board. */
struct v3020_platform_data {
int leftshift; /* (1<<(leftshift)) & readl() */
+
+ int use_gpio:1;
+ unsigned int gpio_cs;
+ unsigned int gpio_wr;
+ unsigned int gpio_rd;
+ unsigned int gpio_io;
};
#define V3020_STATUS_0 0x00
OpenPOWER on IntegriCloud