Re: Dream in staging: separate Kconfig/Makefile into subdirectory

From: Pavel Machek
Date: Tue Jul 21 2009 - 06:39:04 EST


On Tue 2009-07-21 14:16:20, Bartlomiej Zolnierkiewicz wrote:
>
> Hi Pavel,
>
> On Monday 20 July 2009 12:35:32 Pavel Machek wrote:
> > Separate Kconfig/Makefile glue from dream into subdirectory. I plan to
> > add few more drivers, and changing staging/Makefile each time sounds
> > like inviting conflicts.
> >
> > Signed-off-by: Pavel Machek <pavel@xxxxxx>
>
> While you are at it could you please limit the scope of those Kconfigs
> to Dream platform somehow (today's -next asked me about MSM_SMD and upon
> checking I'm pretty sure that I don't need it on x86-32 ;)..

Umm, yes.

---

Limit SMD communication glue to MSM platform. It is closely tied to
MSM architecture.

Signed-off-by: Pavel Machek <pavel@xxxxxx>

diff --git a/drivers/staging/dream/smd/Kconfig b/drivers/staging/dream/smd/Kconfig
index 3c1db3c..17b8bdc 100644
--- a/drivers/staging/dream/smd/Kconfig
+++ b/drivers/staging/dream/smd/Kconfig
@@ -1,4 +1,5 @@
config MSM_SMD
+ depends on ARCH_MSM
default y
bool "MSM Shared Memory Driver (SMD)"
help

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/