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

« back to all changes in this revision

Viewing changes to arch/arm/mach-omap2/voltagedomains2xxx_data.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2011-12-06 15:56:07 UTC
  • Revision ID: package-import@ubuntu.com-20111206155607-pcf44kv5fmhk564f
Tags: 3.2.0-1401.1
[ Paolo Pisati ]

* Rebased on top of Ubuntu-3.2.0-3.8
* Tilt-tracking @ ef2487af4bb15bdd0689631774b5a5e3a59f74e2
* Delete debian.ti-omap4/control, it shoudln't be tracked
* Fix architecture spelling (s/armel/armhf/)
* [Config] Update configs following 3.2 import
* [Config] Fix compilation: disable CODA and ARCH_OMAP3
* [Config] Fix compilation: disable Ethernet Faraday
* Update series to precise

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * OMAP3 voltage domain data
 
3
 *
 
4
 * Copyright (C) 2011 Texas Instruments, Inc.
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License version 2 as
 
8
 * published by the Free Software Foundation.
 
9
 */
 
10
#include <linux/kernel.h>
 
11
#include <linux/init.h>
 
12
 
 
13
#include "voltage.h"
 
14
 
 
15
static struct voltagedomain omap2_voltdm_core = {
 
16
        .name = "core",
 
17
};
 
18
 
 
19
static struct voltagedomain omap2_voltdm_wkup = {
 
20
        .name = "wakeup",
 
21
};
 
22
 
 
23
static struct voltagedomain *voltagedomains_omap2[] __initdata = {
 
24
        &omap2_voltdm_core,
 
25
        &omap2_voltdm_wkup,
 
26
        NULL,
 
27
};
 
28
 
 
29
void __init omap2xxx_voltagedomains_init(void)
 
30
{
 
31
        voltdm_init(voltagedomains_omap2);
 
32
}