Thread (1 message) 1 message, 1 author, 2015-06-24

Re: [PATCH 7/9] arm: twr-k70f120m: IOMUX driver for Kinetis SoC

From: Paul Bolle <hidden>
Date: 2015-06-24 10:21:22

On Tue, 2015-06-23 at 23:19 +0200, Paul Osmialowski wrote:
quoted hunk
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
 
quoted hunk
+config PINCTRL_KINETIS
+	bool "Kinetis pinctrl driver"
+	depends on OF
+	depends on SOC_K70
+	select PINMUX
+	help
+	  Say Y here to enable the Kinetis pinctrl driver
quoted hunk
--- a/drivers/pinctrl/freescale/Makefile
+++ b/drivers/pinctrl/freescale/Makefile
+obj-$(CONFIG_PINCTRL_KINETIS)	+= pinctrl-kinetis.o
quoted hunk
--- /dev/null
+++ b/drivers/pinctrl/freescale/pinctrl-kinetis.c
+#include <linux/module.h>
quoted hunk
+static struct pinctrl_desc kinetis_pinctrl_desc = {
+	[...]
+	.owner = THIS_MODULE,
+};
quoted hunk
+static void __exit kinetis_pinctrl_exit(void)
+{
+	platform_driver_unregister(&kinetis_pinctrl_driver);
+}
+module_exit(kinetis_pinctrl_exit);
+
+MODULE_DESCRIPTION("Freescale Kinetis pinctrl driver");
+MODULE_LICENSE("GPL v2");
pinctrl-kinetis.o can only be built-in, right? But the code uses a few
module specific constructs. Did you mean to make PINCTRL_KINETIS
tristate instead?

Thanks,


Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help