* [PATCH 3/5] drivers/scsi/... convert #include "linux/..." to #include <linux/...>
@ 2007-08-19 22:19 Joe Perches
0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2007-08-19 22:19 UTC (permalink / raw)
To: kernel-janitors, linux-kernel
(untested)
There are several files that
#include "linux/file" not #include <linux/file>
#include "asm/file" not #include <asm/file>
Here's a little script that converts them:
egrep -i -r -l --include=*.[ch] \
"^[[:space:]]*\#[[:space:]]*include[[:space:]]*\"(linux|asm)/(.*)\"" * \
| xargs sed -i -e 's/^[[:space:]]*#[[:space:]]*include[[:space:]]*"\(linux\|asm\)\/\(.*\)"/#include <\1\/\2>/g'
Signed-off-by: Joe Perches <joe@perches.com>
diff --git a/drivers/scsi/aic94xx/aic94xx_dump.c b/drivers/scsi/aic94xx/aic94xx_dump.c
index 6bd8e30..ddf5f10 100644
--- a/drivers/scsi/aic94xx/aic94xx_dump.c
+++ b/drivers/scsi/aic94xx/aic94xx_dump.c
@@ -29,7 +29,7 @@
*
*/
-#include "linux/pci.h"
+#include <linux/pci.h>
#include "aic94xx.h"
#include "aic94xx_reg.h"
#include "aic94xx_reg_def.h"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-19 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-19 22:19 [PATCH 3/5] drivers/scsi/... convert #include "linux/..." to #include <linux/...> Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox