Make #include guard naming consistent
[fw/openocd] / src / flash / nor / spi.h
index 73ec17e506384fdb3492f60bc243365e7b26a451..a1849983f26db9e16603cb22dfdfc2ad6d3a7a0b 100644 (file)
@@ -19,6 +19,9 @@
  *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
+#ifndef OPENOCD_FLASH_NOR_SPI_H
+#define OPENOCD_FLASH_NOR_SPI_H
+
 /* data structure to maintain flash ids from different vendors */
 struct flash_device {
        char *name;
@@ -54,3 +57,5 @@ extern const struct flash_device flash_devices[];
 #define SPIFLASH_PAGE_PROGRAM  0x02 /* Page Program */
 #define SPIFLASH_FAST_READ             0x0B /* Fast Read */
 #define SPIFLASH_READ                  0x03 /* Normal Read */
+
+#endif /* OPENOCD_FLASH_NOR_SPI_H */