[PATCH v2 2/4] reset: Create subdirectory for SpacemiT drivers

Guodong Xu guodong at riscstar.com
Tue Jan 20 01:12:39 PST 2026


On Fri, Jan 16, 2026 at 1:27 AM Alex Elder <elder at riscstar.com> wrote:
>
> On 1/8/26 8:22 AM, Guodong Xu wrote:
> > diff --git a/drivers/reset/spacemit/Makefile b/drivers/reset/spacemit/Makefile
> > new file mode 100644
> > index 0000000000000000000000000000000000000000..de7e358c74fd7b0fac3ec2c18d985331af64fcbb
> > --- /dev/null
> > +++ b/drivers/reset/spacemit/Makefile
> > @@ -0,0 +1,3 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +obj-$(CONFIG_RESET_SPACEMIT_K1)              += reset-spacemit-k1.o
> > +
>
> Didn't git shout at you for having a blank line at the end of this file?

No. But I think I can remove it to keep a constant style with other Makefiles
under the reset directory.

BR,
Guodong Xu

>
> > diff --git a/drivers/reset/reset-spacemit.c b/drivers/reset/spacemit/reset-spacemit-k1.c
> > similarity index 100%
> > rename from drivers/reset/reset-spacemit.c
> > rename to drivers/reset/spacemit/reset-spacemit-k1.c
> >
>



More information about the linux-riscv mailing list