aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/connector.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/connector/connector.c')
-rw-r--r--drivers/connector/connector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index fc9887fa453f..e59f0ab8f828 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -269,7 +269,7 @@ static void cn_notify(struct cb_id *id, u32 notify_event)
269 * May sleep. 269 * May sleep.
270 */ 270 */
271int cn_add_callback(struct cb_id *id, char *name, 271int cn_add_callback(struct cb_id *id, char *name,
272 void (*callback)(struct cn_msg *)) 272 void (*callback)(struct cn_msg *, struct netlink_skb_parms *))
273{ 273{
274 int err; 274 int err;
275 struct cn_dev *dev = &cdev; 275 struct cn_dev *dev = &cdev;
@@ -351,7 +351,7 @@ static int cn_ctl_msg_equals(struct cn_ctl_msg *m1, struct cn_ctl_msg *m2)
351 * 351 *
352 * Used for notification of a request's processing. 352 * Used for notification of a request's processing.
353 */ 353 */
354static void cn_callback(struct cn_msg *msg) 354static void cn_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
355{ 355{
356 struct cn_ctl_msg *ctl; 356 struct cn_ctl_msg *ctl;
357 struct cn_ctl_entry *ent; 357 struct cn_ctl_entry *ent;