x86, efi: Set runtime_version to the EFI spec revision
[linux/fpc-iii.git] / arch / arm / mach-tegra / cpuidle.c
blobd0651397aec72827c7e1355c455f28fd8220c95a
1 /*
2 * arch/arm/mach-tegra/cpuidle.c
4 * CPU idle driver for Tegra CPUs
6 * Copyright (c) 2010-2012, NVIDIA Corporation.
7 * Copyright (c) 2011 Google, Inc.
8 * Author: Colin Cross <ccross@android.com>
9 * Gary King <gking@nvidia.com>
11 * Rework for 3.3 by Peter De Schrijver <pdeschrijver@nvidia.com>
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful, but WITHOUT
19 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
21 * more details.
24 #include <linux/kernel.h>
25 #include <linux/module.h>
27 #include "fuse.h"
28 #include "cpuidle.h"
30 static int __init tegra_cpuidle_init(void)
32 int ret;
34 switch (tegra_chip_id) {
35 case TEGRA20:
36 ret = tegra20_cpuidle_init();
37 break;
38 case TEGRA30:
39 ret = tegra30_cpuidle_init();
40 break;
41 default:
42 ret = -ENODEV;
43 break;
46 return ret;
48 device_initcall(tegra_cpuidle_init);