summaryrefslogtreecommitdiffstats
path: root/src/drivers/bitbash
diff options
context:
space:
mode:
authorAlexey Zaytsev2008-03-02 01:41:10 +0100
committerAlexey Zaytsev2008-03-02 01:41:10 +0100
commita1572e0ab0f5fab9a1f0185ded593bec811aa175 (patch)
treee407d6d0f2b8e93950216268ec0198fff865c6a0 /src/drivers/bitbash
parentIntroduce the new timer subsystem. (diff)
downloadipxe-a1572e0ab0f5fab9a1f0185ded593bec811aa175.tar.gz
ipxe-a1572e0ab0f5fab9a1f0185ded593bec811aa175.tar.xz
ipxe-a1572e0ab0f5fab9a1f0185ded593bec811aa175.zip
Modify gPXE core and drivers to work with the new timer subsystem
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'src/drivers/bitbash')
-rw-r--r--src/drivers/bitbash/bitbash.c1
-rw-r--r--src/drivers/bitbash/i2c_bit.c2
-rw-r--r--src/drivers/bitbash/spi_bit.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/bitbash/bitbash.c b/src/drivers/bitbash/bitbash.c
index ec94feee..c6f93520 100644
--- a/src/drivers/bitbash/bitbash.c
+++ b/src/drivers/bitbash/bitbash.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <timer.h>
#include <gpxe/bitbash.h>
/** @file
diff --git a/src/drivers/bitbash/i2c_bit.c b/src/drivers/bitbash/i2c_bit.c
index d8fbacc0..a3af610b 100644
--- a/src/drivers/bitbash/i2c_bit.c
+++ b/src/drivers/bitbash/i2c_bit.c
@@ -20,7 +20,7 @@
#include <stdint.h>
#include <errno.h>
#include <assert.h>
-#include <timer.h>
+#include <unistd.h>
#include <gpxe/bitbash.h>
#include <gpxe/i2c.h>
diff --git a/src/drivers/bitbash/spi_bit.c b/src/drivers/bitbash/spi_bit.c
index a4e7136f..ef87b5a2 100644
--- a/src/drivers/bitbash/spi_bit.c
+++ b/src/drivers/bitbash/spi_bit.c
@@ -22,7 +22,7 @@
#include <byteswap.h>
#include <errno.h>
#include <assert.h>
-#include <timer.h>
+#include <unistd.h>
#include <gpxe/bitbash.h>
#include <gpxe/spi_bit.h>