H Hartley Sweeten e019ef0c4f drivers/block/mg_disk.c: use resource_size()
Use resource_size() for ioremap.

The ioremap appears to be passing the incorrect size for the platform
resource.  Unfortunately, I can't locate a user in mainline to verify
this.  Using resource_size should be the correct fix.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: unsik Kim <donari75@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-12-22 09:12:48 +01:00
..
2009-12-01 16:32:20 -08:00
2009-10-01 21:15:40 +02:00
2005-04-16 15:20:36 -07:00
2009-09-22 07:17:25 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2009-10-01 21:17:49 +02:00
2009-10-01 21:17:49 +02:00
2009-11-04 09:09:28 +01:00
2005-04-16 15:20:36 -07:00
2009-03-26 21:15:27 +01:00
2009-09-22 07:17:25 -07:00
2008-10-21 07:48:11 -04:00