staging: comedi: jr3_pci: fix iomem dereference
authorIan Abbott <abbotti@mev.co.uk>
Thu, 27 Sep 2012 16:45:27 +0000 (17:45 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:49:10 +0000 (03:49 +0100)
commitaeb048baa36390d8550282a305aabc057a5718cc
tree09fcba7f4bdf2d0173d28682545d4339199b0047
parent0767530346a06285e2c34b239976dae1d0d3d621
staging: comedi: jr3_pci: fix iomem dereference

commit e1878957b4676a17cf398f7f5723b365e9a2ca48 upstream.

Correct a direct dereference of I/O memory to use an appropriate I/O
memory access function.  Note that the pointer being dereferenced is not
currently tagged with `__iomem` but I plan to correct that for 3.7.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/comedi/drivers/jr3_pci.c