From: Andrew Lunn Date: Wed, 9 Jan 2013 18:28:09 +0000 (+0100) Subject: pinctrl: mvebu: Fix compiler warnings X-Git-Tag: v3.8-rc6~13^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fa36be89305f06a217509fcce4f4aed5df0627;p=pandora-kernel.git pinctrl: mvebu: Fix compiler warnings match->data is const void * where as dev.platform_data is just void *. Add a cast to remove the const, which is causing the compiler warning: drivers/pinctrl/mvebu/pinctrl-kirkwood.c:461:26: warning: assignment discards 'const' qualifier from pointer target type Dove has the exact same warning, so gets the same cast. Signed-off-by: Andrew Lunn Acked-by: Jason Cooper Signed-off-by: Linus Walleij --- Reading git-diff-tree failed