M68k HP300 DIO bus: Fix typo in dio_resource_len()
Subsystems (2)
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()
Signed-off-by Geert Uytterhoeven <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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
@@ -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) \
_
David S. Miller
maintainerQuoted 6 lines · On Sun, 21 Nov 2004 22:43:51 -0800 [email protected] wrote:
From: Geert Uytterhoeven <[email protected]>
HP300 DIO bus: Fix typo in
dio_resource_len()Signed-off-by Geert Uytterhoeven <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Simple enough, applied to 2.6.10
Thanks.