diff options
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index a4ab1e364313..b4f90661382c 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c | |||
@@ -906,7 +906,7 @@ static struct omap_mux *omap_mux_get_by_gpio( | |||
906 | u16 omap_mux_get_gpio(int gpio) | 906 | u16 omap_mux_get_gpio(int gpio) |
907 | { | 907 | { |
908 | struct omap_mux_partition *partition; | 908 | struct omap_mux_partition *partition; |
909 | struct omap_mux *m; | 909 | struct omap_mux *m = NULL; |
910 | 910 | ||
911 | list_for_each_entry(partition, &mux_partitions, node) { | 911 | list_for_each_entry(partition, &mux_partitions, node) { |
912 | m = omap_mux_get_by_gpio(partition, gpio); | 912 | m = omap_mux_get_by_gpio(partition, gpio); |