brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0165-bcm2708_fb-Remove-unnecessary-second-call-of-bcm2708.patch
1 From fc133162fe020547e00f04ce1d74a3bcf19dabdb Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Wed, 5 Feb 2014 17:00:22 +0000
4 Subject: [PATCH 165/196] bcm2708_fb: Remove unnecessary second call of
5 bcm2708_fb_debugfs_init
6
7 See: https://github.com/raspberrypi/linux/issues/521
8 ---
9 drivers/video/bcm2708_fb.c | 3 ---
10 1 file changed, 3 deletions(-)
11
12 diff --git a/drivers/video/bcm2708_fb.c b/drivers/video/bcm2708_fb.c
13 index 935288d..e8bbcc3 100644
14 --- a/drivers/video/bcm2708_fb.c
15 +++ b/drivers/video/bcm2708_fb.c
16 @@ -646,9 +646,6 @@ static int bcm2708_fb_probe(struct platform_device *dev)
17
18 bcm2708_fb_debugfs_init(fb);
19
20 -
21 - bcm2708_fb_debugfs_init(fb);
22 -
23 fb->cb_base = dma_alloc_writecombine(&dev->dev, SZ_64K,
24 &fb->cb_handle, GFP_KERNEL);
25 if (!fb->cb_base) {
26 --
27 1.9.1
28