diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-05-11 09:10:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:34:30 -0700 |
commit | e114474cf5c7fe7ab94dd4f5938ffa51c9af77c4 (patch) | |
tree | ecf15b6b570aa7d0bfa92fe0e71c9d085622b1a5 /drivers/char/nsc_gpio.c | |
parent | ccc5ca8d4cadc141d6c97ec0213cdd676616a11d (diff) |
serial: bfin_sport_uart: Use resource size to fix off-by-one error
Use the resource_size function instead of manually calculating the
resource size. This actually fixes an off-by-one error.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/nsc_gpio.c')
0 files changed, 0 insertions, 0 deletions