connector: Fix incompatible pointer type warning
authorStephen Boyd <bebarino@gmail.com>
Tue, 6 Oct 2009 08:39:51 +0000 (01:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 08:39:51 +0000 (01:39 -0700)
commitf0b25932b8e60e96f5f371b27442e560803ac6f5
treec04e8d202b88f79ac86b603cd135af26fee62dd4
parenta160ee69c6a4622ed30c377a978554015e9931cb
connector: Fix incompatible pointer type warning

Commit 7069331 (connector: Provide the sender's credentials to the
callback, 2009-10-02) changed callbacks to take two arguments but missed
this one.

drivers/connector/cn_proc.c: In function ‘cn_proc_init’:
drivers/connector/cn_proc.c:263: warning: passing argument 3 of
‘cn_add_callback’ from incompatible pointer type

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/cn_proc.c