openwrtv4/target/linux/brcm2708/patches-3.10/0165-bcm2708_fb-Remove-unnecessary-second-call-of-bcm2708.patch
Florian Fainelli 6918ea2484 brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Update the 3.10 rasperry patches by rebasing raspberry/rpi-3.10-y
against linux-stable/v3.10.49.

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

SVN-Revision: 42678
2014-09-27 19:10:51 +00:00

28 lines
814 B
Diff

From fc133162fe020547e00f04ce1d74a3bcf19dabdb Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 5 Feb 2014 17:00:22 +0000
Subject: [PATCH 165/196] 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(-)
diff --git a/drivers/video/bcm2708_fb.c b/drivers/video/bcm2708_fb.c
index 935288d..e8bbcc3 100644
--- a/drivers/video/bcm2708_fb.c
+++ b/drivers/video/bcm2708_fb.c
@@ -646,9 +646,6 @@ static int bcm2708_fb_probe(struct platform_device *dev)
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) {
--
1.9.1