projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ffae84
)
Patch from anders.blomdell@control.lth.se (Anders Blomdell):
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 21 Nov 2005 00:23:43 +0000
(
00:23
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 21 Nov 2005 00:23:43 +0000
(
00:23
+0000)
fix warning messages (might be that 8255_cb should change signature)
comedi/drivers/daqboard2000.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/daqboard2000.c
b/comedi/drivers/daqboard2000.c
index 98d63479a3bdca06457d439a6bc6cd382579ac1d..3026b43dcccf8aac5fb01eb733d5bb842b0df300 100644
(file)
--- a/
comedi/drivers/daqboard2000.c
+++ b/
comedi/drivers/daqboard2000.c
@@
-668,10
+668,10
@@
static int daqboard2000_8255_cb(int dir, int port, int data, unsigned long ioadd
{
int result = 0;
if(dir){
- writew(data,
ioaddr
+port*2);
+ writew(data,
((void*)ioaddr)
+port*2);
result = 0;
}else{
- result = readw(
ioaddr
+port*2);
+ result = readw(
((void*)ioaddr)
+port*2);
}
/*
printk("daqboard2000_8255_cb %x %d %d %2.2x -> %2.2x\n",