File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,12 +240,6 @@ static int hp300_hwclk(int op, struct rtc_time *t)
240240 return 0 ;
241241}
242242
243- static unsigned int hp300_get_ss (void )
244- {
245- return hp300_rtc_read (RTC_REG_SEC1 ) * 10 +
246- hp300_rtc_read (RTC_REG_SEC2 );
247- }
248-
249243static void __init hp300_init_IRQ (void )
250244{
251245}
@@ -256,7 +250,6 @@ void __init config_hp300(void)
256250 mach_init_IRQ = hp300_init_IRQ ;
257251 mach_get_model = hp300_get_model ;
258252 mach_hwclk = hp300_hwclk ;
259- mach_get_ss = hp300_get_ss ;
260253 mach_reset = hp300_reset ;
261254#ifdef CONFIG_HEARTBEAT
262255 mach_heartbeat = hp300_pulse ;
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ extern void (*mach_get_model) (char *model);
1919extern void (* mach_get_hardware_list ) (struct seq_file * m );
2020/* machine dependent timer functions */
2121extern int (* mach_hwclk )(int , struct rtc_time * );
22- extern unsigned int (* mach_get_ss )(void );
2322extern int (* mach_get_rtc_pll )(struct rtc_pll_info * );
2423extern int (* mach_set_rtc_pll )(struct rtc_pll_info * );
2524extern void (* mach_reset )( void );
Original file line number Diff line number Diff line change @@ -87,8 +87,6 @@ void (*mach_sched_init) (void) __initdata = NULL;
8787void (* mach_init_IRQ ) (void ) __initdata = NULL ;
8888void (* mach_get_model ) (char * model );
8989void (* mach_get_hardware_list ) (struct seq_file * m );
90- unsigned int (* mach_get_ss )(void );
91- EXPORT_SYMBOL (mach_get_ss );
9290void (* mach_reset )( void );
9391void (* mach_halt )( void );
9492void (* mach_power_off )( void );
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ static void q40_get_model(char *model);
4141extern void q40_sched_init (void );
4242
4343static int q40_hwclk (int , struct rtc_time * );
44- static unsigned int q40_get_ss (void );
4544static int q40_get_rtc_pll (struct rtc_pll_info * pll );
4645static int q40_set_rtc_pll (struct rtc_pll_info * pll );
4746
@@ -169,7 +168,6 @@ void __init config_q40(void)
169168
170169 mach_init_IRQ = q40_init_IRQ ;
171170 mach_hwclk = q40_hwclk ;
172- mach_get_ss = q40_get_ss ;
173171 mach_get_rtc_pll = q40_get_rtc_pll ;
174172 mach_set_rtc_pll = q40_set_rtc_pll ;
175173
@@ -246,11 +244,6 @@ static int q40_hwclk(int op, struct rtc_time *t)
246244 return 0 ;
247245}
248246
249- static unsigned int q40_get_ss (void )
250- {
251- return bcd2bin (Q40_RTC_SECS );
252- }
253-
254247/* get and set PLL calibration of RTC clock */
255248#define Q40_RTC_PLL_MASK ((1<<5)-1)
256249#define Q40_RTC_PLL_SIGN (1<<5)
You can’t perform that action at this time.
0 commit comments