diff options
Diffstat (limited to 'common/rgb_keyboard.c')
-rw-r--r-- | common/rgb_keyboard.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/rgb_keyboard.c b/common/rgb_keyboard.c index 5f130ee776..0036cdcd16 100644 --- a/common/rgb_keyboard.c +++ b/common/rgb_keyboard.c @@ -2,8 +2,6 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -#include <stdbool.h> - #include "atomic.h" #include "common.h" #include "console.h" @@ -18,6 +16,8 @@ #include "timer.h" #include "util.h" +#include <stdbool.h> + /* Console output macros */ #define CPUTS(outstr) cputs(CC_RGBKBD, outstr) #define CPRINTF(fmt, args...) cprintf(CC_RGBKBD, "RGBKBD: " fmt, ##args) @@ -476,7 +476,6 @@ static void rgbkbd_reset(void) const struct kblight_drv kblight_rgbkbd = { .init = rgbkbd_init, .set = rgbkbd_kblight_set, - .get = NULL, .enable = rgbkbd_enable, .get_enabled = rgbkbd_get_enabled, }; |