~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-omap2/board-rx51-video.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#include <linux/spi/spi.h>
16
16
#include <linux/mm.h>
17
17
#include <asm/mach-types.h>
18
 
#include <plat/display.h>
 
18
#include <video/omapdss.h>
19
19
#include <plat/vram.h>
20
20
#include <plat/mcspi.h>
21
21
 
76
76
                return 0;
77
77
        }
78
78
 
79
 
        if (gpio_request(RX51_LCD_RESET_GPIO, "LCD ACX565AKM reset")) {
 
79
        if (gpio_request_one(RX51_LCD_RESET_GPIO, GPIOF_OUT_INIT_HIGH,
 
80
                             "LCD ACX565AKM reset")) {
80
81
                pr_err("%s failed to get LCD Reset GPIO\n", __func__);
81
82
                return 0;
82
83
        }
83
84
 
84
 
        gpio_direction_output(RX51_LCD_RESET_GPIO, 1);
85
 
 
86
85
        omap_display_init(&rx51_dss_board_info);
87
86
        return 0;
88
87
}