Skip to contentSkip to conversation

M68k HP300 DIO bus: Fix typo in dio_resource_len()

PATCH In review [email protected] 2 participants 2 messages Nov 22, 2004 – Nov 24, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/13 M68k HP300 DIO bus: Fix typo in dio_resource_len()

From: Geert Uytterhoeven <[email protected]>

HP300 DIO bus: Fix typo in dio_resource_len()

---

 25-akpm/include/linux/dio.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
include/linux/dio.h renamed from include/linux/dio.h~m68k-hp300-dio-bus-fix-typo-in-dio_resource_len +1 -1
diff -puN include/linux/dio.h~m68k-hp300-dio-bus-fix-typo-in-dio_resource_len include/linux/dio.h
@@ -254,7 +254,7 @@ static inline struct dio_driver *dio_dev
 
 #define dio_resource_start(d) ((d)->resource.start)
 #define dio_resource_end(d)   ((d)->resource.end)
-#define dio_resource_len(d)   ((d)->resource.end-(z)->resource.start+1)
+#define dio_resource_len(d)   ((d)->resource.end-(d)->resource.start+1)
 #define dio_resource_flags(d) ((d)->resource.flags)
 
 #define dio_request_device(d, name) \

_