summaryrefslogtreecommitdiffstats
path: root/include/linux/pmu.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2007-11-14 16:59:56 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 18:45:41 -0800
commit4c06be10c790008aa2b2d19df2872ff39990b7bd (patch)
tree859d05beb7800749c6019e4beb61ecd893916dbe /include/linux/pmu.h
parentc06a018fa5362fa9ed0768bd747c0fab26bc8849 (diff)
downloadlinux-4c06be10c790008aa2b2d19df2872ff39990b7bd.tar.gz
linux-4c06be10c790008aa2b2d19df2872ff39990b7bd.tar.bz2
linux-4c06be10c790008aa2b2d19df2872ff39990b7bd.zip
rtc: release correct region in error path
The misc_register() error path always released an I/O port region, even if the region was memory-mapped (only mips uses memory-mapped RTC, as far as I can see). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pmu.h')
0 files changed, 0 insertions, 0 deletions