staging: Add moduleparam.h to drivers/staging files as required
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 15 Sep 2011 22:21:58 +0000 (18:21 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:09 +0000 (19:32 -0400)
These files are using moduleparam infrastructure and were getting
that via the implicit module.h presence that we are phasing out.
So they'll need to include moduleparam.h explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/staging/gma500/mdfld_dsi_output.c
drivers/staging/gma500/mdfld_output.c
drivers/staging/gma500/mid_bios.c

index 9050c0f78b15b1c964ed7f35a576bda9f9bdf96d..3f979db2c3a5460e3f2d17f1b0d56f6ff2fae9f2 100644 (file)
@@ -32,6 +32,7 @@
 #include <asm/intel_scu_ipc.h>
 #include "mdfld_dsi_pkg_sender.h"
 #include <linux/pm_runtime.h>
+#include <linux/moduleparam.h>
 
 #define MDFLD_DSI_BRIGHTNESS_MAX_LEVEL 100
 
index ee55f87ba1fda419f5416018789dea3b89a2a388..eabf53d58f923baa07a574f6787a92993c55658c 100644 (file)
@@ -26,6 +26,7 @@
 */
 
 #include <linux/init.h>
+#include <linux/moduleparam.h>
 #include "mdfld_dsi_dbi.h"
 #include "mdfld_dsi_dpi.h"
 #include "mdfld_dsi_output.h"
@@ -167,4 +168,4 @@ void mdfld_output_setup(struct drm_device *dev)
                else
                        mdfld_dbi_dsr_init(dev);
        }
-}
\ No newline at end of file
+}
index 8cfe301f8fb20900477cde5dae5213bc4e4064ed..ee3c0368e3200ab30cebb12bc36a2bcf77e86fa5 100644 (file)
@@ -23,6 +23,7 @@
  * - Check ioremap failures
  */
 
+#include <linux/moduleparam.h>
 #include <drm/drmP.h>
 #include <drm/drm.h>
 #include "psb_drm.h"