]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ppc/time.h
8139too: some style cleanups
[linux-2.6-omap-h63xx.git] / include / asm-ppc / time.h
index c86112323c9f097e3297d7dc74a51efeae76b4cb..81dbcd43a501355bd90bceb8c1dc24a7f8c14f66 100644 (file)
@@ -9,7 +9,6 @@
 #ifndef __ASM_TIME_H__
 #define __ASM_TIME_H__
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/rtc.h>
 #include <linux/threads.h>
@@ -58,7 +57,7 @@ static __inline__ void set_dec(unsigned int val)
 /* Accessor functions for the timebase (RTC on 601) registers. */
 /* If one day CONFIG_POWER is added just define __USE_RTC as 1 */
 #ifdef CONFIG_6xx
-extern __inline__ int __attribute_pure__ __USE_RTC(void) {
+extern __inline__ int __pure __USE_RTC(void) {
        return (mfspr(SPRN_PVR)>>16) == 1;
 }
 #else