Re: [PATCH 1/3] driver core: Add ability for arch code to setup pdev_archdata
From: Mike Frysinger <hidden>
Date: 2011-06-22 14:38:04
Also in:
lkml
From: Mike Frysinger <hidden>
Date: 2011-06-22 14:38:04
Also in:
lkml
On Wed, Jun 22, 2011 at 08:02, Kumar Gala wrote:
--- /dev/null +++ b/include/asm-generic/platform_device.h@@ -0,0 +1,11 @@
missing header blob with explanation/copyright/license
+/*
+ * an architecture can override to define arch_setup_pdev_archdata
+ */
+#ifndef arch_setup_pdev_archdata
+static inline void arch_setup_pdev_archdata(struct platform_device *pdev) { }
+#endifmissing explanation of what the func actually does, and this header lacks a forward struct decl for platform_device -mike