diff options
Diffstat (limited to 'drivers/video/msm/mddi.c')
-rw-r--r-- | drivers/video/msm/mddi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c index c1ff271017a9..7c316c34dfca 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); | |||
187 | 187 | ||
188 | static void mddi_handle_rev_data_avail(struct mddi_info *mddi) | 188 | static void mddi_handle_rev_data_avail(struct mddi_info *mddi) |
189 | { | 189 | { |
190 | union mddi_rev *rev = mddi->rev_data; | ||
191 | uint32_t rev_data_count; | 190 | uint32_t rev_data_count; |
192 | uint32_t rev_crc_err_count; | 191 | uint32_t rev_crc_err_count; |
193 | int i; | ||
194 | struct reg_read_info *ri; | 192 | struct reg_read_info *ri; |
195 | size_t prev_offset; | 193 | size_t prev_offset; |
196 | uint16_t length; | 194 | uint16_t length; |
@@ -670,7 +668,7 @@ static int __init mddi_rev_data_setup(struct mddi_info *mddi) | |||
670 | return 0; | 668 | return 0; |
671 | } | 669 | } |
672 | 670 | ||
673 | static int __init mddi_probe(struct platform_device *pdev) | 671 | static int __devinit mddi_probe(struct platform_device *pdev) |
674 | { | 672 | { |
675 | struct msm_mddi_platform_data *pdata = pdev->dev.platform_data; | 673 | struct msm_mddi_platform_data *pdata = pdev->dev.platform_data; |
676 | struct mddi_info *mddi = &mddi_info[pdev->id]; | 674 | struct mddi_info *mddi = &mddi_info[pdev->id]; |