projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa851a
)
Fixed a compiler warning.
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 22 Oct 2008 09:44:27 +0000
(09:44 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 22 Oct 2008 09:44:27 +0000
(09:44 +0000)
comedi/drivers.c
patch
|
blob
|
history
diff --git
a/comedi/drivers.c
b/comedi/drivers.c
index c348766cc18efe785c2050371f83ab5df101c99b..40195b02f809ffd8633975edb4f7f4cba7f1bd61 100644
(file)
--- a/
comedi/drivers.c
+++ b/
comedi/drivers.c
@@
-799,7
+799,7
@@
int comedi_auto_config(struct device *hardware_device, const char *board_name, c
minor = comedi_alloc_board_minor(hardware_device);
if(minor < 0) return minor;
- dev_set_drvdata(hardware_device, (void*)minor);
+ dev_set_drvdata(hardware_device, (void*)
(unsigned long)
minor);
dev_file_info = comedi_get_device_file_info(minor);