From: H Hartley Sweeten Date: Fri, 20 Jul 2012 17:33:08 +0000 (-0700) Subject: staging: comedi: rtd520: ioremap'ed addresses are resource_size_t X-Git-Tag: v3.6-rc3~38^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a26f4dd0ebd18f061366ca0231fdb74210e16140;p=pandora-kernel.git staging: comedi: rtd520: ioremap'ed addresses are resource_size_t As mentioned by Ian Abbott, the pci address passed to ioremap should be a resource_size_t not an unsigned long. Use a local variable of that type to hold the pci_resource_start() that is passed to ioremp(). Set the dev->iobase to a dummy non-zero value so that the "detach" can use it as a flag to know that comedi_pci_disable() needs to be called. Reported-by: Ian Abbott Signed-off-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed