diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/connector.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/connector.h b/include/linux/connector.h index b68d27850d51..47ebf416f512 100644 --- a/include/linux/connector.h +++ b/include/linux/connector.h | |||
| @@ -136,7 +136,7 @@ struct cn_callback_data { | |||
| 136 | void *ddata; | 136 | void *ddata; |
| 137 | 137 | ||
| 138 | void *callback_priv; | 138 | void *callback_priv; |
| 139 | void (*callback) (void *); | 139 | void (*callback) (struct cn_msg *); |
| 140 | 140 | ||
| 141 | void *free; | 141 | void *free; |
| 142 | }; | 142 | }; |
| @@ -167,11 +167,11 @@ struct cn_dev { | |||
| 167 | struct cn_queue_dev *cbdev; | 167 | struct cn_queue_dev *cbdev; |
| 168 | }; | 168 | }; |
| 169 | 169 | ||
| 170 | int cn_add_callback(struct cb_id *, char *, void (*callback) (void *)); | 170 | int cn_add_callback(struct cb_id *, char *, void (*callback) (struct cn_msg *)); |
| 171 | void cn_del_callback(struct cb_id *); | 171 | void cn_del_callback(struct cb_id *); |
| 172 | int cn_netlink_send(struct cn_msg *, u32, gfp_t); | 172 | int cn_netlink_send(struct cn_msg *, u32, gfp_t); |
| 173 | 173 | ||
| 174 | int cn_queue_add_callback(struct cn_queue_dev *dev, char *name, struct cb_id *id, void (*callback)(void *)); | 174 | int cn_queue_add_callback(struct cn_queue_dev *dev, char *name, struct cb_id *id, void (*callback)(struct cn_msg *)); |
| 175 | void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id); | 175 | void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id); |
| 176 | 176 | ||
| 177 | int queue_cn_work(struct cn_callback_entry *cbq, struct work_struct *work); | 177 | int queue_cn_work(struct cn_callback_entry *cbq, struct work_struct *work); |
