/* Forward declarations for external types */
struct msgobj_t;
-struct chip_t;
+struct canchip_t;
/**
* struct canque_edge_t - CAN message delivery subsystem graph edge
#endif /*CAN_WITH_RTL*/
struct {
struct msgobj_t *msgobj;
- struct chip_t *chip;
+ struct canchip_t *chip;
#ifndef CAN_WITH_RTL
wait_queue_head_t daemonq;
#else /*CAN_WITH_RTL*/
/**
* canque_edge_incref - increments edge reference count
- * @qedg: pointer to the edge structure
+ * @edge: pointer to the edge structure
*/
static inline
void canque_edge_incref(struct canque_edge_t *edge)
#ifndef CAN_HAVE_ARCH_CMPXCHG
/**
* canque_edge_decref - decrements edge reference count
- * @qedg: pointer to the edge structure
+ * @edge: pointer to the edge structure
*
* This function has to be called without lock held for both ends of edge.
* If reference count drops to 0, function canque_edge_do_dead()