Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317075
b: refs/heads/master
c: 4aa7419
h: refs/heads/master
i:
  317073: 3556bf6
  317071: 1e7c23d
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jun 5, 2012
1 parent c37d6a2 commit 8781112
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86a5eb8ccef09916e622b43f97f115c2526d7d2e
refs/heads/master: 4aa7419e082ef5ca38f8934d38fda5909a27962b
10 changes: 5 additions & 5 deletions trunk/drivers/staging/comedi/drivers/ii_pci20kc.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ options for PCI-20341M:
#define PCI20341_SCANLIST 0x80 /* Channel/Gain Scan List */

union pci20xxx_subdev_private {
void *iobase;
void __iomem *iobase;
struct {
void *iobase;
void __iomem *iobase;
const struct comedi_lrange *ao_range_list[2];
/* range of channels of ao module */
unsigned int last_data[2];
} pci20006;
struct {
void *iobase;
void __iomem *iobase;
int timebase;
int settling_time;
int ai_gain;
Expand All @@ -152,7 +152,7 @@ union pci20xxx_subdev_private {

struct pci20xxx_private {

void *ioaddr;
void __iomem *ioaddr;
union pci20xxx_subdev_private subdev_private[PCI20000_MODULES];
};

Expand Down Expand Up @@ -210,7 +210,7 @@ static int pci20xxx_attach(struct comedi_device *dev,
if (ret < 0)
return ret;

devpriv->ioaddr = (void *)(unsigned long)it->options[0];
devpriv->ioaddr = (void __iomem *)(unsigned long)it->options[0];
dev->board_name = "pci20kc";

/* Check PCI-20001 C-2A Carrier Board ID */
Expand Down

0 comments on commit 8781112

Please sign in to comment.