Rename uboot/datetime to dummy/datetime.
It's just a stub and is not UBoot-specific.
This commit is contained in:
parent
ff7416a848
commit
2f061fac71
2 changed files with 3 additions and 4 deletions
|
@ -1606,7 +1606,7 @@ module = {
|
|||
name = datetime;
|
||||
cmos = lib/cmos_datetime.c;
|
||||
efi = lib/efi/datetime.c;
|
||||
uboot = lib/uboot/datetime.c;
|
||||
uboot = lib/dummy/datetime.c;
|
||||
sparc64_ieee1275 = lib/ieee1275/datetime.c;
|
||||
powerpc_ieee1275 = lib/ieee1275/datetime.c;
|
||||
sparc64_ieee1275 = lib/ieee1275/cmos.c;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
#include <grub/types.h>
|
||||
#include <grub/symbol.h>
|
||||
#include <grub/uboot/uboot.h>
|
||||
#include <grub/datetime.h>
|
||||
#include <grub/dl.h>
|
||||
|
||||
|
@ -30,12 +29,12 @@ grub_err_t
|
|||
grub_get_datetime (struct grub_datetime *datetime __attribute__ ((unused)))
|
||||
{
|
||||
return grub_error (GRUB_ERR_INVALID_COMMAND,
|
||||
"can\'t get datetime using U-Boot");
|
||||
"can\'t get datetime on this machine");
|
||||
}
|
||||
|
||||
grub_err_t
|
||||
grub_set_datetime (struct grub_datetime * datetime __attribute__ ((unused)))
|
||||
{
|
||||
return grub_error (GRUB_ERR_INVALID_COMMAND,
|
||||
"can\'t set datetime using U-Boot");
|
||||
"can\'t set datetime on this machine");
|
||||
}
|
Loading…
Reference in a new issue