Commit 91dc10af authored by Jan Kiszka's avatar Jan Kiszka
Browse files

drivers/gpio: Flip default for GPIO_RTIOC_TS to real-time clock

This is in line with other drivers and should avoid surprises like [1]
in the future.

[1] https://xenomai.org/pipermail/xenomai/2021-June/045661.html

Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 7bc3ba39
......@@ -30,8 +30,8 @@ struct rtdm_gpio_readout {
#define GPIO_RTIOC_REQS _IO(RTDM_CLASS_GPIO, 4)
#define GPIO_RTIOC_RELS _IO(RTDM_CLASS_GPIO, 5)
#define GPIO_RTIOC_TS_MONO _IOR(RTDM_CLASS_GPIO, 7, int)
#define GPIO_RTIOC_TS GPIO_RTIOC_TS_MONO
#define GPIO_RTIOC_TS_REAL _IOR(RTDM_CLASS_GPIO, 8, int)
#define GPIO_RTIOC_TS GPIO_RTIOC_TS_REAL
#define GPIO_TRIGGER_NONE 0x0 /* unspecified */
#define GPIO_TRIGGER_EDGE_RISING 0x1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment