Skip to contentSkip to conversation

drivers/video/ep93xx-fb.c: fix missing declaration of devm_ioremap()

PATCH New Hauke Mehrtens 3 participants 3 messages Mar 21, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/video/ep93xx-fb.c: fix missing declaration of devm_ioremap()

This fixes the following compile error:
drivers/video/ep93xx-fb.c: In function 'ep93xxfb_probe':
drivers/video/ep93xx-fb.c:532:2: error: implicit declaration of function 'devm_ioremap' [-Werror=implicit-function-declaration] drivers/video/ep93xx-fb.c:532:17: warning: assignment makes pointer from integer without a cast [enabled by default]

Cc stable at vger.kernel.org

---

This patch should go into kernel 3.8, 3.9 and 3.10.

 drivers/video/ep93xx-fb.c |    1 +
 1 file changed, 1 insertion(+)
drivers/video/ep93xx-fb.c +1 -0
index 3f2519d..e06cd5d 100644
@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #include <linux/clk.h>
 #include <linux/fb.h>
+#include <linux/io.h>
 
 #include <linux/platform_data/video-ep93xx.h>
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 drivers/video/ep93xx-fb.c: fix missing declaration of devm_ioremap()

Quoted 7 lines · Hauke Mehrtens

This fixes the following compile error:
drivers/video/ep93xx-fb.c: In function 'ep93xxfb_probe':
drivers/video/ep93xx-fb.c:532:2: error: implicit declaration of function 'devm_ioremap' [-Werror=implicit-function-declaration] drivers/video/ep93xx-fb.c:532:17: warning: assignment makes pointer from integer without a cast [enabled by default]

Cc stable at vger.kernel.org

This patch is already in Andrew Morton's -mm tree.

Ryan,

Maybe you should pick this up in your fixes branch?

Regards,
Hartley

#2 lore raw

PATCH 1/1 drivers/video/ep93xx-fb.c: fix missing declaration of devm_ioremap()

Quoted 9 lines · H Hartley Sweeten
Quoted 7 lines · Hauke Mehrtens

This fixes the following compile error:
drivers/video/ep93xx-fb.c: In function 'ep93xxfb_probe':
drivers/video/ep93xx-fb.c:532:2: error: implicit declaration of function 'devm_ioremap' [-Werror=implicit-function-declaration] drivers/video/ep93xx-fb.c:532:17: warning: assignment makes pointer from integer without a cast [enabled by default]

Cc stable at vger.kernel.org
Quoted 6 lines

This patch is already in Andrew Morton's -mm tree.

Ryan,

Maybe you should pick this up in your fixes branch?

I don't see any reason to since Andrew already has it queued. If it needs to be backported to stable, then check with Andrew to make sure that it will be merged in the right places.

In general I don't want to take ep93xx driver patches through my tree, they should instead go to the appropriate subsystem maintainer.

Thanks,
~Ryan