--- linux-2.6.21/drivers/char/rtc.c.orig 2007-05-21 08:32:42.000000000 -0500 +++ linux-2.6.21/drivers/char/rtc.c 2007-05-21 08:33:49.000000000 -0500 @@ -93,6 +93,10 @@ #include #endif +static unsigned long rtc_port; +static int rtc_irq = PCI_IRQ_NONE; +#endif + #ifdef CONFIG_MIPS # include #endif @@ -119,10 +123,6 @@ enum rtc_states { #endif -static unsigned long rtc_port; -static int rtc_irq = PCI_IRQ_NONE; -#endif - #ifdef CONFIG_HPET_RTC_IRQ #undef RTC_IRQ #endif