From: Geert Uytterhoeven HP300 DIO bus: Fix typo in dio_resource_len() Signed-off-by: Geert Uytterhoeven Signed-off-by: Andrew Morton --- 25-akpm/include/linux/dio.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/dio.h~m68k-hp300-dio-bus-fix-typo-in-dio_resource_len include/linux/dio.h --- 25/include/linux/dio.h~m68k-hp300-dio-bus-fix-typo-in-dio_resource_len 2004-11-21 16:17:28.365103872 -0800 +++ 25-akpm/include/linux/dio.h 2004-11-21 16:17:28.369103264 -0800 @@ -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) \ _