drivers: pci: pcie_dw_common: add upper-limit to iATU
[platform/kernel/u-boot.git] / include / timer.h
index a044cb0..d33a26e 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _TIMER_H_
 #define _TIMER_H_
 
+#define timer_get_ops(dev)     ((struct timer_ops *)(dev)->driver->ops)
+
 /**
  * dm_timer_init() - initialize a timer for time keeping. On success
  * initializes gd->timer so that lib/timer can use it for future