openwrt/target/linux/brcm2708/patches-3.10/0165-bcm2708_fb-Remove-unnecessary-second-call-of-bcm2708.patch
Florian Fainelli bb39b8d99a brcm2708: update against latest rpi-3.10.y branch
Update our copies of the brcm2708 patches to the latest rpi-3.10-y
rebased against linux-3.10.y stable (3.10.32). This should hopefully
make it easier for us in the future to leverage the raspberry/rpi-*
branches.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39770
2014-02-28 20:30:08 +00:00

24 lines
688 B
Diff

From 543d19bb3d96c1e34a2eedc0d7e2d7f1b14e5f3d Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 5 Feb 2014 17:00:22 +0000
Subject: [PATCH 165/174] bcm2708_fb: Remove unnecessary second call of
bcm2708_fb_debugfs_init
See: https://github.com/raspberrypi/linux/issues/521
---
drivers/video/bcm2708_fb.c | 3 ---
1 file changed, 3 deletions(-)
--- a/drivers/video/bcm2708_fb.c
+++ b/drivers/video/bcm2708_fb.c
@@ -646,9 +646,6 @@ static int bcm2708_fb_probe(struct platf
bcm2708_fb_debugfs_init(fb);
-
- bcm2708_fb_debugfs_init(fb);
-
fb->cb_base = dma_alloc_writecombine(&dev->dev, SZ_64K,
&fb->cb_handle, GFP_KERNEL);
if (!fb->cb_base) {