mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
m68k: removed unused "mach_get_ss"
The m68k machine helper function "mach_get_ss" function pointer is set for some machines, but ultimately never used anywhere. Remove it. Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
This commit is contained in:
parent
1300eec9e5
commit
348cce32cc
4 changed files with 0 additions and 17 deletions
|
@ -240,12 +240,6 @@ static int hp300_hwclk(int op, struct rtc_time *t)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned int hp300_get_ss(void)
|
|
||||||
{
|
|
||||||
return hp300_rtc_read(RTC_REG_SEC1) * 10 +
|
|
||||||
hp300_rtc_read(RTC_REG_SEC2);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void __init hp300_init_IRQ(void)
|
static void __init hp300_init_IRQ(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -256,7 +250,6 @@ void __init config_hp300(void)
|
||||||
mach_init_IRQ = hp300_init_IRQ;
|
mach_init_IRQ = hp300_init_IRQ;
|
||||||
mach_get_model = hp300_get_model;
|
mach_get_model = hp300_get_model;
|
||||||
mach_hwclk = hp300_hwclk;
|
mach_hwclk = hp300_hwclk;
|
||||||
mach_get_ss = hp300_get_ss;
|
|
||||||
mach_reset = hp300_reset;
|
mach_reset = hp300_reset;
|
||||||
#ifdef CONFIG_HEARTBEAT
|
#ifdef CONFIG_HEARTBEAT
|
||||||
mach_heartbeat = hp300_pulse;
|
mach_heartbeat = hp300_pulse;
|
||||||
|
|
|
@ -19,7 +19,6 @@ extern void (*mach_get_model) (char *model);
|
||||||
extern void (*mach_get_hardware_list) (struct seq_file *m);
|
extern void (*mach_get_hardware_list) (struct seq_file *m);
|
||||||
/* machine dependent timer functions */
|
/* machine dependent timer functions */
|
||||||
extern int (*mach_hwclk)(int, struct rtc_time*);
|
extern int (*mach_hwclk)(int, struct rtc_time*);
|
||||||
extern unsigned int (*mach_get_ss)(void);
|
|
||||||
extern int (*mach_get_rtc_pll)(struct rtc_pll_info *);
|
extern int (*mach_get_rtc_pll)(struct rtc_pll_info *);
|
||||||
extern int (*mach_set_rtc_pll)(struct rtc_pll_info *);
|
extern int (*mach_set_rtc_pll)(struct rtc_pll_info *);
|
||||||
extern void (*mach_reset)( void );
|
extern void (*mach_reset)( void );
|
||||||
|
|
|
@ -87,8 +87,6 @@ void (*mach_sched_init) (void) __initdata = NULL;
|
||||||
void (*mach_init_IRQ) (void) __initdata = NULL;
|
void (*mach_init_IRQ) (void) __initdata = NULL;
|
||||||
void (*mach_get_model) (char *model);
|
void (*mach_get_model) (char *model);
|
||||||
void (*mach_get_hardware_list) (struct seq_file *m);
|
void (*mach_get_hardware_list) (struct seq_file *m);
|
||||||
unsigned int (*mach_get_ss)(void);
|
|
||||||
EXPORT_SYMBOL(mach_get_ss);
|
|
||||||
void (*mach_reset)( void );
|
void (*mach_reset)( void );
|
||||||
void (*mach_halt)( void );
|
void (*mach_halt)( void );
|
||||||
void (*mach_power_off)( void );
|
void (*mach_power_off)( void );
|
||||||
|
|
|
@ -41,7 +41,6 @@ static void q40_get_model(char *model);
|
||||||
extern void q40_sched_init(void);
|
extern void q40_sched_init(void);
|
||||||
|
|
||||||
static int q40_hwclk(int, struct rtc_time *);
|
static int q40_hwclk(int, struct rtc_time *);
|
||||||
static unsigned int q40_get_ss(void);
|
|
||||||
static int q40_get_rtc_pll(struct rtc_pll_info *pll);
|
static int q40_get_rtc_pll(struct rtc_pll_info *pll);
|
||||||
static int q40_set_rtc_pll(struct rtc_pll_info *pll);
|
static int q40_set_rtc_pll(struct rtc_pll_info *pll);
|
||||||
|
|
||||||
|
@ -169,7 +168,6 @@ void __init config_q40(void)
|
||||||
|
|
||||||
mach_init_IRQ = q40_init_IRQ;
|
mach_init_IRQ = q40_init_IRQ;
|
||||||
mach_hwclk = q40_hwclk;
|
mach_hwclk = q40_hwclk;
|
||||||
mach_get_ss = q40_get_ss;
|
|
||||||
mach_get_rtc_pll = q40_get_rtc_pll;
|
mach_get_rtc_pll = q40_get_rtc_pll;
|
||||||
mach_set_rtc_pll = q40_set_rtc_pll;
|
mach_set_rtc_pll = q40_set_rtc_pll;
|
||||||
|
|
||||||
|
@ -246,11 +244,6 @@ static int q40_hwclk(int op, struct rtc_time *t)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned int q40_get_ss(void)
|
|
||||||
{
|
|
||||||
return bcd2bin(Q40_RTC_SECS);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* get and set PLL calibration of RTC clock */
|
/* get and set PLL calibration of RTC clock */
|
||||||
#define Q40_RTC_PLL_MASK ((1<<5)-1)
|
#define Q40_RTC_PLL_MASK ((1<<5)-1)
|
||||||
#define Q40_RTC_PLL_SIGN (1<<5)
|
#define Q40_RTC_PLL_SIGN (1<<5)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue