]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/main.h
Change of parameter order in hotplug functions, more debug messages
[lincan.git] / lincan / include / main.h
index 152af5c5b2166dd338dc7d21d36a969f9ec45fb8..01f8739f2ff122bdbc7cc217eb79bea40dfcd91e 100644 (file)
@@ -538,5 +538,5 @@ void can_filltimestamp(canmsg_tstamp_t *ptimestamp)
 extern int can_rtl_priority;
 #endif /*CAN_WITH_RTL*/
 
 extern int can_rtl_priority;
 #endif /*CAN_WITH_RTL*/
 
-extern struct candevice_t* register_hotplug_dev(const char *hwname,void *devdata,void (*chipdataregfnc)(struct canchip_t *chip,void *data));
+extern struct candevice_t* register_hotplug_dev(const char *hwname,int (*chipdataregfnc)(struct canchip_t *chip,void *data),void *devdata);
 extern void cleanup_hotplug_dev(struct candevice_t *dev);
 extern void cleanup_hotplug_dev(struct candevice_t *dev);