[PATCH 4/5] fix typo
Sascha Hauer
s.hauer at pengutronix.de
Thu Jul 28 03:58:19 EDT 2011
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/base/driver.c | 2 +-
include/driver.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index bb6df3c..78e9ea9 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -286,7 +286,7 @@ const char *dev_id(const struct device_d *dev)
{
static char buf[MAX_DRIVER_NAME + 16];
- snprintf(buf, sizeof(buf), FORMAT_DRIVER_MANE_ID, dev->name, dev->id);
+ snprintf(buf, sizeof(buf), FORMAT_DRIVER_NAME_ID, dev->name, dev->id);
return buf;
}
diff --git a/include/driver.h b/include/driver.h
index af34803..9a0b102 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -27,7 +27,7 @@
#include <linux/ioport.h>
#define MAX_DRIVER_NAME 32
-#define FORMAT_DRIVER_MANE_ID "%s%d"
+#define FORMAT_DRIVER_NAME_ID "%s%d"
#include <param.h>
--
1.7.5.4
More information about the barebox
mailing list