bsg-lib: add module.h include
authorJens Axboe <jaxboe@fusionio.com>
Tue, 2 Aug 2011 08:43:35 +0000 (10:43 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 2 Aug 2011 08:43:35 +0000 (10:43 +0200)
Due to conflicts with the moduleh tree in linux-next, we
run into an include file mess. We really need export.h
in that tree, but if we add module.h locally then the
issue is easier to resolve.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/bsg-lib.c

index f8c0a61a529cdb2d3c7cd61091dfe434495299b3..6690e6e41037ec305e7b5cd606f96c59fb29fe17 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/delay.h>
 #include <linux/scatterlist.h>
 #include <linux/bsg-lib.h>
+#include <linux/module.h>
 #include <scsi/scsi_cmnd.h>
 
 /**