projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29f2f16
)
added cs_error() compatibility function
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 31 May 2004 22:30:58 +0000
(22:30 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 31 May 2004 22:30:58 +0000
(22:30 +0000)
include/pcmcia/ds.h
patch
|
blob
|
history
diff --git
a/include/pcmcia/ds.h
b/include/pcmcia/ds.h
index 8de9f00056ab465b5a7fefa7c678688e63abe04b..1be7299eae7c85039266762f730f75a788eb4e3e 100644
(file)
--- a/
include/pcmcia/ds.h
+++ b/
include/pcmcia/ds.h
@@
-21,13
+21,18
@@
struct pcmcia_driver {
static inline int pcmcia_register_driver(struct pcmcia_driver *driver)
{
return register_pccard_driver(driver->drv.name, driver->attach, driver->detach);
-}
+}
;
static void inline pcmcia_unregister_driver(struct pcmcia_driver *driver)
{
unregister_pccard_driver(driver->drv.name);
-}
+}
;
+static void inline cs_error(client_handle_t handle, int func, int ret)
+{
+ error_info_t err = { func, ret };
+ CardServices(ReportError, handle, &err);
+};
#endif