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

« back to all changes in this revision

Viewing changes to arch/arm/mach-pxa/hx4700.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:
35
35
#include <linux/spi/spi.h>
36
36
#include <linux/spi/pxa2xx_spi.h>
37
37
#include <linux/usb/gpio_vbus.h>
 
38
#include <linux/i2c/pxa-i2c.h>
38
39
 
39
40
#include <mach/hardware.h>
40
41
#include <asm/mach-types.h>
42
43
 
43
44
#include <mach/pxa27x.h>
44
45
#include <mach/hx4700.h>
45
 
#include <plat/i2c.h>
46
46
#include <mach/irda.h>
47
47
 
48
48
#include <video/platform_lcd.h>
711
711
static struct regulator_init_data bq24022_init_data = {
712
712
        .constraints = {
713
713
                .max_uA         = 500000,
714
 
                .valid_ops_mask = REGULATOR_CHANGE_CURRENT,
 
714
                .valid_ops_mask = REGULATOR_CHANGE_CURRENT|REGULATOR_CHANGE_STATUS,
715
715
        },
716
716
        .num_consumer_supplies  = ARRAY_SIZE(bq24022_consumers),
717
717
        .consumer_supplies      = bq24022_consumers,
735
735
 * StrataFlash
736
736
 */
737
737
 
738
 
static void hx4700_set_vpp(struct map_info *map, int vpp)
 
738
static void hx4700_set_vpp(struct platform_device *pdev, int vpp)
739
739
{
740
740
        gpio_set_value(GPIO91_HX4700_FLASH_VPEN, vpp);
741
741
}