aboutsummaryrefslogtreecommitdiffstats
path: root/udelay.h
diff options
context:
space:
mode:
Diffstat (limited to 'udelay.h')
-rw-r--r--udelay.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/udelay.h b/udelay.h
index 3271c7f..aa26950 100644
--- a/udelay.h
+++ b/udelay.h
@@ -1,4 +1,4 @@
-/* $Id: udelay.h,v 1.10 2005/05/08 04:32:45 reinelt Exp $
+/* $Id: udelay.h,v 1.11 2005/12/12 09:08:08 reinelt Exp $
*
* short delays
*
@@ -23,6 +23,9 @@
*
*
* $Log: udelay.h,v $
+ * Revision 1.11 2005/12/12 09:08:08 reinelt
+ * finally removed old udelay code path; read timing values from config
+ *
* Revision 1.10 2005/05/08 04:32:45 reinelt
* CodingStyle added and applied
*
@@ -79,18 +82,8 @@ static inline void rep_nop(void)
__asm__ __volatile__("rep; nop");
}
-
-#ifdef USE_OLD_UDELAY
-
-extern unsigned long loops_per_usec;
-void udelay_calibrate(void);
-
-#else
-
void udelay_init(void);
-
-#endif
-
+unsigned long timing(const char *driver, const char *section, const char *name, const int defval, const char *unit);
void ndelay(const unsigned long nsec);
#define udelay(usec) ndelay(usec*1000)