#include "target.h" less wildly
[fw/openocd] / src / flash / lpc3180_nand_controller.h
index 8352083b47295f2b7030b2dcc046faa9872c729e..0891cedf7c470da16909655994dd1cd6dd922d0a 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef LPC3180_NAND_CONTROLLER_H
 #define LPC3180_NAND_CONTROLLER_H
 
-#include "target.h"
-
 enum lpc3180_selected_controller
 {
        LPC3180_NO_CONTROLLER,
@@ -29,14 +27,14 @@ enum lpc3180_selected_controller
        LPC3180_SLC_CONTROLLER,
 };
 
-typedef struct lpc3180_nand_controller_s
+struct lpc3180_nand_controller
 {
-       struct target_s *target;
+       struct target *target;
        int osc_freq;
        enum lpc3180_selected_controller selected_controller;
        int sw_write_protection;
        uint32_t sw_wp_lower_bound;
        uint32_t sw_wp_upper_bound;
-} lpc3180_nand_controller_t;
+};
 
 #endif /*LPC3180_NAND_CONTROLLER_H */