forked from kofal.net/zmk
refactor(app): replace struct device * with const struct device *
Replaced with RegExp: /(?<!const )(struct device \*)/g See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
#include <kernel.h>
|
||||
#include <settings/settings.h>
|
||||
|
||||
static int zmk_settings_init(struct device *_arg) { return settings_load(); }
|
||||
static int zmk_settings_init(const struct device *_arg) { return settings_load(); }
|
||||
|
||||
SYS_INIT(zmk_settings_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);
|
||||
|
||||
Reference in New Issue
Block a user