summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 09:11:00 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 09:11:00 +0000
commit0b6cb0cd0be208b66287e7fc3ed6b418f8ed3d5c (patch)
treeeb9e500768babd2821cb7d184cfed81f834fa8bb
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-0b6cb0cd0be208b66287e7fc3ed6b418f8ed3d5c.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* avr/power.h: Revert previous patch.
-rw-r--r--cpukit/score/cpu/avr/ChangeLog4
-rw-r--r--cpukit/score/cpu/avr/avr/power.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/avr/ChangeLog b/cpukit/score/cpu/avr/ChangeLog
index cb2c509be0..4abccfdc3f 100644
--- a/cpukit/score/cpu/avr/ChangeLog
+++ b/cpukit/score/cpu/avr/ChangeLog
@@ -1,5 +1,9 @@
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * avr/power.h: Revert previous patch.
+
+2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* cpu.c, avr/interrupt.h, avr/power.h, rtems/score/cpu.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
diff --git a/cpukit/score/cpu/avr/avr/power.h b/cpukit/score/cpu/avr/avr/power.h
index ee8af9edea..f17166142a 100644
--- a/cpukit/score/cpu/avr/avr/power.h
+++ b/cpukit/score/cpu/avr/avr/power.h
@@ -1377,7 +1377,7 @@ typedef enum
} clock_div_t;
-static inline void clock_prescale_set(clock_div_t) __attribute__((__always_inline__));
+static __inline__ void clock_prescale_set(clock_div_t) __attribute__((__always_inline__));
/** \addtogroup avr_power
\code clock_prescale_set(x) \endcode