X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fusb%2Fmain.c;fp=carlfw%2Fusb%2Fmain.c;h=57f75a44162f93635161182b7a8cc5013f3d1fdd;hb=0eb34487ee8e70ecb8e4ee2ed5092b2788eb7f26;hp=1a966256e2989decba5ff9be1b87fd609d71cdb5;hpb=f19956767de59e88f34f7f17112fd79760ad2918;p=carl9170fw.git diff --git a/carlfw/usb/main.c b/carlfw/usb/main.c index 1a96625..57f75a4 100644 --- a/carlfw/usb/main.c +++ b/carlfw/usb/main.c @@ -270,7 +270,7 @@ static void turn_power_off(void) set(AR9170_PHY_REG_ADC_SERIAL_CTL, AR9170_PHY_ADC_SCTL_SEL_INTERNAL_ADDAC); } -void __attribute__((noreturn)) reboot(void) +void __noreturn reboot(void) { /* write watchdog magic pattern for suspend */ andl(AR9170_PWR_REG_WATCH_DOG_MAGIC, 0xffff);