From 2b2d5ec1e38efdd10ec64f8e880588350fb4edea Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:14:54 -0800 Subject: [PATCH] change #include "flash.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "flash.h" the following form should be used. #include The exception is from .c files in the same directory. --- src/flash/nand.h | 2 +- src/flash/nor/aduc702x.c | 2 +- src/flash/nor/at91sam3.c | 2 +- src/flash/nor/at91sam7.h | 2 +- src/flash/nor/avrf.c | 2 +- src/flash/nor/cfi.h | 2 +- src/flash/nor/ecos.c | 2 +- src/flash/nor/faux.c | 2 +- src/flash/nor/lpc2000.h | 2 +- src/flash/nor/lpc288x.h | 2 +- src/flash/nor/lpc2900.c | 2 +- src/flash/nor/non_cfi.h | 2 +- src/flash/nor/ocl.c | 2 +- src/flash/nor/pic32mx.h | 2 +- src/flash/nor/stellaris.h | 2 +- src/flash/nor/stm32x.h | 2 +- src/flash/nor/str7x.h | 2 +- src/flash/nor/str9x.h | 2 +- src/flash/nor/str9xpec.h | 2 +- src/flash/nor/tms470.h | 2 +- src/server/gdb_server.c | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/flash/nand.h b/src/flash/nand.h index a30a65495e..d73aee14a9 100644 --- a/src/flash/nand.h +++ b/src/flash/nand.h @@ -25,7 +25,7 @@ #ifndef NAND_H #define NAND_H -#include "flash.h" +#include struct nand_device; diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c index a8d76cebd6..66969127b3 100644 --- a/src/flash/nor/aduc702x.c +++ b/src/flash/nor/aduc702x.c @@ -23,7 +23,7 @@ #include "config.h" #endif -#include "flash.h" +#include #include #include #include diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c index 5f7e8d72fe..dd4f3471cc 100644 --- a/src/flash/nor/at91sam3.c +++ b/src/flash/nor/at91sam3.c @@ -61,7 +61,7 @@ #include #include #include -#include "flash.h" +#include #include #include "at91sam3.h" #include diff --git a/src/flash/nor/at91sam7.h b/src/flash/nor/at91sam7.h index 4510686909..8077879416 100644 --- a/src/flash/nor/at91sam7.h +++ b/src/flash/nor/at91sam7.h @@ -23,7 +23,7 @@ #ifndef AT91SAM7_H #define AT91SAM7_H -#include "flash.h" +#include struct at91sam7_flash_bank { diff --git a/src/flash/nor/avrf.c b/src/flash/nor/avrf.c index 2bc44384a7..fbc92772bc 100644 --- a/src/flash/nor/avrf.c +++ b/src/flash/nor/avrf.c @@ -23,7 +23,7 @@ #include "avrf.h" #include -#include "flash.h" +#include /* AVR_JTAG_Instructions */ diff --git a/src/flash/nor/cfi.h b/src/flash/nor/cfi.h index d55fd34ef5..565a2b6cf6 100644 --- a/src/flash/nor/cfi.h +++ b/src/flash/nor/cfi.h @@ -20,7 +20,7 @@ #ifndef CFI_H #define CFI_H -#include "flash.h" +#include #define CFI_STATUS_POLL_MASK_DQ5_DQ6_DQ7 0xE0 /* DQ5..DQ7 */ #define CFI_STATUS_POLL_MASK_DQ6_DQ7 0xC0 /* DQ6..DQ7 */ diff --git a/src/flash/nor/ecos.c b/src/flash/nor/ecos.c index 81223b688b..8f8f746ebe 100644 --- a/src/flash/nor/ecos.c +++ b/src/flash/nor/ecos.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "flash.h" +#include #include #include #include diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c index 124ca3e1fc..49a0f722bf 100644 --- a/src/flash/nor/faux.c +++ b/src/flash/nor/faux.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "flash.h" +#include #include #include "../hello.h" diff --git a/src/flash/nor/lpc2000.h b/src/flash/nor/lpc2000.h index 08e278a355..30be304822 100644 --- a/src/flash/nor/lpc2000.h +++ b/src/flash/nor/lpc2000.h @@ -23,7 +23,7 @@ #ifndef LPC2000_H #define LPC2000_H -#include "flash.h" +#include typedef enum { diff --git a/src/flash/nor/lpc288x.h b/src/flash/nor/lpc288x.h index 5a71ee08a2..06f634ab89 100644 --- a/src/flash/nor/lpc288x.h +++ b/src/flash/nor/lpc288x.h @@ -21,7 +21,7 @@ #ifndef lpc288x_H #define lpc288x_H -#include "flash.h" +#include struct lpc288x_flash_bank { diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index c1fefd70c3..dc466f8e2b 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -24,7 +24,7 @@ #include -#include "flash.h" +#include #include #include #include diff --git a/src/flash/nor/non_cfi.h b/src/flash/nor/non_cfi.h index 44c92db431..cc6004e822 100644 --- a/src/flash/nor/non_cfi.h +++ b/src/flash/nor/non_cfi.h @@ -20,7 +20,7 @@ #ifndef NON_CFI_H #define NON_CFI_H -#include "flash.h" +#include struct non_cfi { diff --git a/src/flash/nor/ocl.c b/src/flash/nor/ocl.c index 57d9efaaaa..6e3ad1c9a7 100644 --- a/src/flash/nor/ocl.c +++ b/src/flash/nor/ocl.c @@ -22,7 +22,7 @@ #endif #include "ocl.h" -#include "flash.h" +#include #include diff --git a/src/flash/nor/pic32mx.h b/src/flash/nor/pic32mx.h index 92f40c2e5f..b33e831748 100644 --- a/src/flash/nor/pic32mx.h +++ b/src/flash/nor/pic32mx.h @@ -26,7 +26,7 @@ #ifndef PIC32MX_H #define PIC32MX_H -#include "flash.h" +#include struct pic32mx_flash_bank { diff --git a/src/flash/nor/stellaris.h b/src/flash/nor/stellaris.h index 949a346de4..85b709cc69 100644 --- a/src/flash/nor/stellaris.h +++ b/src/flash/nor/stellaris.h @@ -20,7 +20,7 @@ #ifndef STELLARIS_FLASH_H #define STELLARIS_FLASH_H -#include "flash.h" +#include struct stellaris_flash_bank { diff --git a/src/flash/nor/stm32x.h b/src/flash/nor/stm32x.h index 6cd047e101..b6e00edc37 100644 --- a/src/flash/nor/stm32x.h +++ b/src/flash/nor/stm32x.h @@ -23,7 +23,7 @@ #ifndef STM32X_H #define STM32X_H -#include "flash.h" +#include struct stm32x_options { diff --git a/src/flash/nor/str7x.h b/src/flash/nor/str7x.h index 81af0f1e7b..4daafb7d13 100644 --- a/src/flash/nor/str7x.h +++ b/src/flash/nor/str7x.h @@ -23,7 +23,7 @@ #ifndef STR7X_H #define STR7X_H -#include "flash.h" +#include struct str7x_flash_bank { diff --git a/src/flash/nor/str9x.h b/src/flash/nor/str9x.h index c9d5152f2b..29adecfae7 100644 --- a/src/flash/nor/str9x.h +++ b/src/flash/nor/str9x.h @@ -23,7 +23,7 @@ #ifndef STR9X_H #define STR9X_H -#include "flash.h" +#include struct str9x_flash_bank { diff --git a/src/flash/nor/str9xpec.h b/src/flash/nor/str9xpec.h index 1d5ce94377..cb2ac7807b 100644 --- a/src/flash/nor/str9xpec.h +++ b/src/flash/nor/str9xpec.h @@ -23,7 +23,7 @@ #ifndef STR9XPEC_H #define STR9XPEC_H -#include "flash.h" +#include #include struct str9xpec_flash_controller diff --git a/src/flash/nor/tms470.h b/src/flash/nor/tms470.h index f275e51067..b2fea1b176 100644 --- a/src/flash/nor/tms470.h +++ b/src/flash/nor/tms470.h @@ -20,7 +20,7 @@ #ifndef TMS470_DOT_H #define TMS470_DOT_H -#include "flash.h" +#include struct tms470_flash_bank { diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 91852338bc..40380a8993 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -31,7 +31,7 @@ #include #include #include "server.h" -#include "flash.h" +#include #include "gdb_server.h" #include #include -- 2.30.2