declance: Remove `incompatible pointer type' warnings
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 19 Sep 2013 23:49:44 +0000 (00:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Sep 2013 18:41:03 +0000 (14:41 -0400)
commit19717d05848849a3b1dddeced9abb5884cff9152
tree61c509d33f3a6d6a03d73dcda06117d54e0f3ce5
parent1a5465f5d6a23e84ef5c06cb32f3d8c26632f42a
declance: Remove `incompatible pointer type' warnings

Revert damage caused by 43d620c82985b19008d87a437b4cf83f356264f7:

.../declance.c: In function 'cp_to_buf':
.../declance.c:347: warning: assignment from incompatible pointer type
.../declance.c:348: warning: assignment from incompatible pointer type
.../declance.c: In function 'cp_from_buf':
.../declance.c:406: warning: assignment from incompatible pointer type
.../declance.c:407: warning: assignment from incompatible pointer type

Also add a `const' qualifier where applicable and adjust formatting.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/declance.c