]> err.no Git - linux-2.6/commit
devres: support addresses greater than an unsigned long via dev_ioremap
authorKumar Gala <galak@kernel.crashing.org>
Tue, 29 Apr 2008 15:25:48 +0000 (10:25 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Apr 2008 23:52:48 +0000 (16:52 -0700)
commit4f452e8aa492c0b8028ca9b4bdb4d018ba28c6c7
tree9838a71adc6c9297bbedafc6ad2f2b36543fd0df
parenta4ca6617421188f50774780cdc91c3782b7d08fe
devres: support addresses greater than an unsigned long via dev_ioremap

Use a resource_size_t instead of unsigned long since some arch's are
capable of having ioremap deal with addresses greater than the size of a
unsigned long.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/io.h
lib/devres.c