summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio/switches
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-15 22:48:24 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:57 +0100
commit0a422f2b1d213f6abeecde88fb45c4b7fa1fd358 (patch)
treed77fb4f13617f44eb7acb813c86b88c867e29e20 /drivers/rapidio/switches
parentdrivers/power: Add module.h to the actual modules in drivers/power (diff)
downloadlinux-0a422f2b1d213f6abeecde88fb45c4b7fa1fd358.tar.xz
linux-0a422f2b1d213f6abeecde88fb45c4b7fa1fd358.zip
drivers/rapidio: idt_gen2.c is implicitly relying on getting stat.h
Upon the trial removal of the implicit presence of module.h, lots of files showed up that were getting the sub-includes by default without calling them out. Fix them in advance. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/rapidio/switches')
-rw-r--r--drivers/rapidio/switches/idt_gen2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rapidio/switches/idt_gen2.c b/drivers/rapidio/switches/idt_gen2.c
index 043ee3136e40..809b7a3336ba 100644
--- a/drivers/rapidio/switches/idt_gen2.c
+++ b/drivers/rapidio/switches/idt_gen2.c
@@ -10,6 +10,7 @@
* option) any later version.
*/
+#include <linux/stat.h>
#include <linux/rio.h>
#include <linux/rio_drv.h>
#include <linux/rio_ids.h>