public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] lmb: do not export anything without CONFIG_LMB
@ 2012-02-16  6:02 Mike Frysinger
  2012-06-19 20:35 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2012-02-16  6:02 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 include/lmb.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/lmb.h b/include/lmb.h
index 43082a3..5d1f4b6 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -1,6 +1,7 @@
 #ifndef _LINUX_LMB_H
 #define _LINUX_LMB_H
 #ifdef __KERNEL__
+#ifdef CONFIG_LMB
 
 #include <asm/types.h>
 /*
@@ -56,6 +57,7 @@ lmb_size_bytes(struct lmb_region *type, unsigned long region_nr)
 void board_lmb_reserve(struct lmb *lmb);
 void arch_lmb_reserve(struct lmb *lmb);
 
+#endif /* CONFIG_LMB */
 #endif /* __KERNEL__ */
 
 #endif /* _LINUX_LMB_H */
-- 
1.7.8.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] lmb: do not export anything without CONFIG_LMB
  2012-02-16  6:02 [U-Boot] [PATCH] lmb: do not export anything without CONFIG_LMB Mike Frysinger
@ 2012-06-19 20:35 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2012-06-19 20:35 UTC (permalink / raw)
  To: u-boot

Dear Mike Frysinger,

In message <1329372167-2530-1-git-send-email-vapier@gentoo.org> you wrote:
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  include/lmb.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Many companies that have made themselves dependent on [the  equipment
of  a  certain  major  manufacturer] (and in doing so have sold their
soul to the devil) will collapse under the sheer weight  of  the  un-
mastered complexity of their data processing systems.
          -- Edsger W. Dijkstra, SIGPLAN Notices, Volume 17, Number 5

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-19 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-16  6:02 [U-Boot] [PATCH] lmb: do not export anything without CONFIG_LMB Mike Frysinger
2012-06-19 20:35 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox