Message ID | 20220525012624.388023-1-zhanggenjian@kylinos.cn (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
Series | MIPS: Export _machine_restart to modules | expand |
diff --git a/arch/mips/kernel/reset.c b/arch/mips/kernel/reset.c index 6288780b779e..f3420a871087 100644 --- a/arch/mips/kernel/reset.c +++ b/arch/mips/kernel/reset.c @@ -24,6 +24,9 @@ * functions. */ void (*_machine_restart)(char *command); +#ifdef CONFIG_GPIO_TB0219_MODULE +EXPORT_SYMBOL_GPL(_machine_restart); +#endif void (*_machine_halt)(void); void (*pm_power_off)(void);