Skip to content

Commit

Permalink
staging: Add moduleparam.h to drivers/staging files as required
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 8e336a7 commit 3f934e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/staging/gma500/mdfld_dsi_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion drivers/staging/gma500/mdfld_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -167,4 +168,4 @@ void mdfld_output_setup(struct drm_device *dev)
else
mdfld_dbi_dsr_init(dev);
}
}
}
1 change: 1 addition & 0 deletions drivers/staging/gma500/mid_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* - Check ioremap failures
*/

#include <linux/moduleparam.h>
#include <drm/drmP.h>
#include <drm/drm.h>
#include "psb_drm.h"
Expand Down

0 comments on commit 3f934e0

Please sign in to comment.