]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3c4c323e61e1af503f9b393027f8948bf434ccb
treec04e8d202b88f79ac86b603cd135af26fee62dd4
parent205fc886d73e56dc2c3d5b4daca7ba8a32cd530f
connector: Fix incompatible pointer type warning

Commit a139deb (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