summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-19 15:31:31 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:27 -0800
commit39eca2a087e30001b3679c04338976d3b02b9173 (patch)
tree117c463a177404b30d42e1647d8974554598e7b8 /drivers/staging
parent5e08c19867cefd9d1a1f07e309338b93439d147a (diff)
downloadblackbird-obmc-linux-39eca2a087e30001b3679c04338976d3b02b9173.tar.gz
blackbird-obmc-linux-39eca2a087e30001b3679c04338976d3b02b9173.zip
Staging: comedi: me_daq: fix sparse issues
This fixes the sparse issues that the tool had with the me_daq driver. Cc: Michael Hillmann <hillmann@syscongroup.de> Cc: David Schleef <ds@schleef.org> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/comedi/drivers/me_daq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/me_daq.c b/drivers/staging/comedi/drivers/me_daq.c
index 8821d5286082..6accec20a0f9 100644
--- a/drivers/staging/comedi/drivers/me_daq.c
+++ b/drivers/staging/comedi/drivers/me_daq.c
@@ -234,7 +234,7 @@ static const struct me_board me_boards[] = {
.ao_channel_nbr = 0,
.ao_resolution = 0,
.ao_resolution_mask = 0,
- .ao_range_list = 0,
+ .ao_range_list = NULL,
.ai_channel_nbr = 16,
/* Analog Input */
.ai_resolution = 12,
@@ -257,8 +257,8 @@ COMEDI_PCI_INITCLEANUP(me_driver, me_pci_table);
/* Private data structure */
struct me_private_data {
struct pci_dev *pci_device;
- void *plx_regbase; /* PLX configuration base address */
- void *me_regbase; /* Base address of the Meilhaus card */
+ void __iomem *plx_regbase; /* PLX configuration base address */
+ void __iomem *me_regbase; /* Base address of the Meilhaus card */
unsigned long plx_regbase_size; /* Size of PLX configuration space */
unsigned long me_regbase_size; /* Size of Meilhaus space */
OpenPOWER on IntegriCloud