uboot-mtk-20250711: glbtn: remove reference to common.h

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
hanwckf
2023-08-31 18:52:43 +08:00
committed by hanwckf
parent 0dc4b558f1
commit 674623b0fe
3 changed files with 5 additions and 4 deletions

View File

@@ -3120,7 +3120,7 @@ config CMD_SPAWN_NUM_JOBS
config CMD_GL_BTN
bool "GL-iNet button check command"
depends on BUTTON
depends on BUTTON && LED
default n
select POLLER

View File

@@ -1,8 +1,9 @@
#include <common.h>
#include <command.h>
#include <button.h>
#include <exports.h>
#include <linux/delay.h>
#include <poller.h>
#include <time.h>
#include <dm/ofnode.h>
#include <env.h>

View File

@@ -1,9 +1,9 @@
// SPDX-License-Identifier: GPL-2.0+
#include <common.h>
#include <command.h>
#include <led.h>
#include <poller.h>
#include <time.h>
#define MAX_LED_BLINK 5
@@ -24,7 +24,7 @@ static void led_blink_func(struct poller_struct *poller)
struct led_blink *led = &led_blinks[i];
if (!led->dev)
continue;
if (led->next_event && now < led->next_event)
continue;