From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers
Date: Wed, 12 Aug 2015 09:03:54 +0100 [thread overview]
Message-ID: <20150812080354.GH7557@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <SN1PR0301MB1616C942574FB3261B811DB19D7E0@SN1PR0301MB1616.namprd03.prod.outlook.com>
On Wed, Aug 12, 2015 at 08:01:32AM +0000, Wang Dongsheng wrote:
> Hi Russell,
>
> Thanks for your review. :)
>
> > -----Original Message-----
> > From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
> > Sent: Wednesday, August 12, 2015 3:45 PM
> > To: Wang Dongsheng-B40534
> > Cc: shawn.guo at linaro.org; Wang Huan-B18965; linus.walleij at linaro.org; linux-
> > kernel at vger.kernel.org; sandeep_n at ti.com; hdegoede at redhat.com; linux-arm-
> > kernel at lists.infradead.org
> > Subject: Re: [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers
> >
> > On Wed, Aug 12, 2015 at 01:53:26PM +0800, Dongsheng Wang wrote:
> > > diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig new
> > > file mode 100644 index 0000000..863d1ef
> > > --- /dev/null
> > > +++ b/drivers/soc/fsl/Kconfig
> > > @@ -0,0 +1,18 @@
> > > +#
> > > +# Freescale SOC drivers
> > > +#
> > > +menuconfig FSL_SOC_DRIVERS
> > > + bool "Freescale Soc Drivers"
> > > + default n
> >
> > No need for default n.
>
> Thanks. Fix it in next version.
>
> > > + help
> > > + Say y here to enable Freescale LS1021A Soc Device Drivers support.
> > > + The Soc Drivers provides the device driver that is a specific block
> > > + or feature on LS1021A platform.
> >
> > Help text should be indented by two spaces as per almost every other help text.
> >
>
> Thanks. My mistake...
>
> > > +
> > > +if LS1_SOC_DRIVERS
> > > + source "drivers/soc/fsl/ls1/Kconfig"
> > > +endif
> > > diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile new
> > > file mode 100644 index 0000000..b4215dd
> > > --- /dev/null
> > > +++ b/drivers/soc/fsl/Makefile
> > > @@ -0,0 +1,6 @@
> > > +#
> > > +# Makefile for Freescale Soc specific device drivers.
> > > +#
> > > +
> > > +obj-$(CONFIG_LS1_SOC_DRIVERS) += ls1/
> > > +
> > > diff --git a/drivers/soc/fsl/ls1/Kconfig b/drivers/soc/fsl/ls1/Kconfig
> > > new file mode 100644 index 0000000..7556f44
> > > --- /dev/null
> > > +++ b/drivers/soc/fsl/ls1/Kconfig
> > > @@ -0,0 +1,3 @@
> > > +#
> > > +# LS-1 Soc drivers
> > > +#
> >
> > Doesn't this directory need a Makefile as well?
> >
>
> 2/2 patch add a config option and Makefile for this.
If _just_ this patch is merged, it creates a build problem as
CONFIG_LS1_SOC_DRIVERS can be enabled, which will cause the kbuild to
decend into drivers/soc/fsl/ls1, where it will stop due to the missing
build error.
Please fix this by adding at least an empty Makefile to this directory.
Do not rely on patch 2 being merged to "fix" this.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
next prev parent reply other threads:[~2015-08-12 8:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 5:53 [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers Dongsheng Wang
2015-08-12 5:53 ` [PATCH 2/2] soc/fsl: add ftm alarm driver for ls1021a platform Dongsheng Wang
2015-08-13 13:54 ` Linus Walleij
2015-08-14 3:12 ` Wang Dongsheng
2015-08-14 10:06 ` Linus Walleij
2015-08-21 3:07 ` Wang Dongsheng
2015-08-12 7:44 ` [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers Russell King - ARM Linux
2015-08-12 8:01 ` Wang Dongsheng
2015-08-12 8:03 ` Russell King - ARM Linux [this message]
2015-08-12 8:10 ` Wang Dongsheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150812080354.GH7557@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).