diff options
Diffstat (limited to 'lib/global.c')
-rw-r--r-- | lib/global.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/global.c b/lib/global.c deleted file mode 100644 index 2d7544b8fd..0000000000 --- a/lib/global.c +++ /dev/null @@ -1,35 +0,0 @@ -#include <common.h> -#include <command.h> -#include <init.h> -#include <driver.h> -#include <malloc.h> -#include <errno.h> - -static struct device_d global_dev; - -int global_add_param(struct param_d *param) -{ - return dev_add_param(&global_dev, param); -} - -static struct device_d global_dev = { - .name = "global", - .id = "env", - .map_base = 0, - .size = 0, -}; - -static struct driver_d global_driver = { - .name = "global", - .probe = dummy_probe, -}; - -static int global_init(void) -{ - register_device(&global_dev); - register_driver(&global_driver); - return 0; -} - -coredevice_initcall(global_init); - |