[PATCH 1/1] lib: move rtc-lib.c to lib
Simon Glass
sjg at chromium.org
Sat Jun 26 20:30:28 CEST 2021
Hi,
On Sat, 12 Jun 2021 at 04:58, Pali Rohár <pali at kernel.org> wrote:
>
> On Saturday 12 June 2021 18:55:12 Bin Meng wrote:
> > Hi Heinrich,
> >
> > On Sat, Jun 12, 2021 at 2:22 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> > >
> > > Function rtc_to_tm() is needed for FAT file system support even if we don't
> > > have a real time clock. So move it from drivers/ to lib/.
> > >
> > > Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> > > ---
> > > drivers/rtc/Makefile | 1 -
> > > drivers/rtc/rtc-lib.c | 77 -------------------------------------------
> > > lib/Makefile | 1 +
> > > lib/rtc-lib.c | 77 +++++++++++++++++++++++++++++++++++++++++++
> > > 4 files changed, 78 insertions(+), 78 deletions(-)
> > > delete mode 100644 drivers/rtc/rtc-lib.c
> > > create mode 100644 lib/rtc-lib.c
> >
> > Please use "git mv"
>
> "git mv" probably does not help as git internally does not track
> information about movement... "git mv" should od same thing as
> "git add" && "git rm".
>
> Rather you need to generate patch with "-M" option to detect file
> movement.
patman should do that automatically. If it does not, can you let me
know the details?
Regards,
Simon
More information about the U-Boot
mailing list