rename cpuXXX_t to cpu_XXX_t
[bertos.git] / bertos / cpu / arm / drv / ser_at91.c
index 902ccc2f6ff692546cc09d41ea89a3e72937c48c..01a7ac2744068d270f994635e1e9713524e3ef64 100644 (file)
@@ -523,7 +523,7 @@ static void spi0_starttx(struct SerialHardware *_hw)
 {
        struct ArmSerial *hw = (struct ArmSerial *)_hw;
 
-       cpuflags_t flags;
+       cpu_flags_t flags;
        IRQ_SAVE_DISABLE(flags);
 
        /* Send data only if the SPI is not already transmitting */
@@ -607,7 +607,7 @@ static void spi1_starttx(struct SerialHardware *_hw)
 {
        struct ArmSerial *hw = (struct ArmSerial *)_hw;
 
-       cpuflags_t flags;
+       cpu_flags_t flags;
        IRQ_SAVE_DISABLE(flags);
 
        /* Send data only if the SPI is not already transmitting */