summaryrefslogtreecommitdiff
path: root/drivers/video/msm/mddi.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 16:18:06 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 16:18:06 (GMT)
commit84479f3c17e2c452d22be10a967e5282b3742d9f (patch)
treeeca4fcb1be58a163712c6b41fe2688da8de53c81 /drivers/video/msm/mddi.c
parent946880fa270c18c137654af70ba939f03181c6b6 (diff)
parent461cbe77d0a4f887c33a3a95ea68a7daf23b4302 (diff)
downloadlinux-fsl-qoriq-84479f3c17e2c452d22be10a967e5282b3742d9f.tar.xz
Merge branch 'msm-video' of git://codeaurora.org/quic/kernel/dwalker/linux-msm
* 'msm-video' of git://codeaurora.org/quic/kernel/dwalker/linux-msm: video: msm: Fix section mismatch in mddi.c. drivers: video: msm: drop some unused variables
Diffstat (limited to 'drivers/video/msm/mddi.c')
-rw-r--r--drivers/video/msm/mddi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c
index c1ff271..7c316c3 100644
--- a/drivers/video/msm/mddi.c
+++ b/drivers/video/msm/mddi.c
@@ -187,10 +187,8 @@ static void mddi_wait_interrupt(struct mddi_info *mddi, uint32_t intmask);
static void mddi_handle_rev_data_avail(struct mddi_info *mddi)
{
- union mddi_rev *rev = mddi->rev_data;
uint32_t rev_data_count;
uint32_t rev_crc_err_count;
- int i;
struct reg_read_info *ri;
size_t prev_offset;
uint16_t length;
@@ -670,7 +668,7 @@ static int __init mddi_rev_data_setup(struct mddi_info *mddi)
return 0;
}
-static int __init mddi_probe(struct platform_device *pdev)
+static int __devinit mddi_probe(struct platform_device *pdev)
{
struct msm_mddi_platform_data *pdata = pdev->dev.platform_data;
struct mddi_info *mddi = &mddi_info[pdev->id];