The RTC ioctl() method is now a configuration option

This commit is contained in:
Gregory Nutt
2015-02-18 08:23:10 -06:00
parent f94e601981
commit e2336a07bb
4 changed files with 14 additions and 1 deletions
+3 -1
View File
@@ -416,11 +416,13 @@ struct rtc_ops_s
FAR const struct rtc_wkalrm *wkalrm);
#endif
#ifdef CONFIG_RTC_IOCTL
/* Support for architecture-specific RTC operations */
CODE int (*ioctl)(FAR struct rtc_lowerhalf_s *lower, int cmd,
unsigned long arg);
#endif
/* The driver has been unlinked and there are no further open references
* to the driver.
*/