diff options
Diffstat (limited to 'board/Synology/common/legacy.c')
-rw-r--r-- | board/Synology/common/legacy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/Synology/common/legacy.c b/board/Synology/common/legacy.c index 3c89e92ae73..06f964f53a3 100644 --- a/board/Synology/common/legacy.c +++ b/board/Synology/common/legacy.c @@ -15,14 +15,15 @@ static unsigned int syno_board_id(void) { +#ifdef CONFIG_MACH_TYPE switch (CONFIG_MACH_TYPE) { case 527: return SYNO_DS109_ID; case 3036: return SYNO_AXP_4BAY_2BAY; - default: - return 0; } +#endif + return 0; } static unsigned int usb_port_modes(void) |