diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2004-11-23 07:58:26 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-11-23 07:58:26 -0800 |
| commit | 75a07ab9add5482ebc1c5a105e402cb646b9caaa (patch) | |
| tree | 6e19ffb24f281655aca8896f093f9f4c9182b531 /include/linux | |
| parent | 7fc9a9761eb28412e1c139464bfcd99ee68fde4f (diff) | |
[DIO]: Fix typo in dio_resource_len()
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dio.h b/include/linux/dio.h index d42c86b9608d..fae9395fcf4f 100644 --- a/include/linux/dio.h +++ b/include/linux/dio.h @@ -254,7 +254,7 @@ static inline struct dio_driver *dio_dev_driver(const struct dio_dev *d) #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) \ |
