Skip to contentSkip to conversation

+ fbdev-fb_goldfish-should-depend-on-has_dma.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 22, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Subject: + fbdev-fb_goldfish-should-depend-on-has_dma.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 22 May 2013 13:50:27 -0700

The patch titled
Subject: fbdev: FB_GOLDFISH should depend on HAS_DMA
has been added to the -mm tree. Its filename is
fbdev-fb_goldfish-should-depend-on-has_dma.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: fbdev: FB_GOLDFISH should depend on HAS_DMA

If NO_DMA=y:

drivers/built-in.o: In function `goldfish_fb_remove':
drivers/video/goldfishfb.c:301: undefined reference to dma_free_coherent' drivers/built-in.o: In function goldfish_fb_probe':
drivers/video/goldfishfb.c:247: undefined reference to dma_alloc_coherent' drivers/video/goldfishfb.c:280: undefined reference to dma_free_coherent'

---

 drivers/video/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/Kconfig renamed from drivers/video/Kconfig~fbdev-fb_goldfish-should-depend-on-has_dma +1 -1
diff -puN drivers/video/Kconfig~fbdev-fb_goldfish-should-depend-on-has_dma drivers/video/Kconfig
@@ -2199,7 +2199,7 @@ config FB_XILINX
 
 config FB_GOLDFISH
 	tristate "Goldfish Framebuffer"
-	depends on FB
+	depends on FB && HAS_DMA
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch fbdev-fb_goldfish-should-depend-on-has_dma.patch init-remove-permanent-string-buffer-from-do_one_initcall.patch drivers-rtc-rtc-msm6242c-remove-empty-function.patch lib-add-weak-clz-ctz-functions.patch