From ba6764d57d9f0b7d0db6b8233f018d10244e36a8 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Thu, 22 May 2014 16:25:27 +0200 Subject: [PATCH] pinctrl: sunxi: Fix multiple registration issue When the support for the PRCM muxer on the A31 has been added, the global static pinctl_desc definition has been left as is. Unfortunately, this structure is used to register the pinctrl device, and prior to this registration, we set the name and pins field. Since this structure is shared across instances, that means that the latest registered pinctrl device wins in setting the name, pins and pins numbers, which is not really a good thing. Signed-off-by: Maxime Ripard Signed-off-by: Linus Walleij --- Reading git-format-patch failed