Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 1 | /* arch/arm/mach-msm/include/mach/board.h |
| 2 | * |
| 3 | * Copyright (C) 2007 Google, Inc. |
| 4 | * Author: Brian Swetland <swetland@google.com> |
| 5 | * |
| 6 | * This software is licensed under the terms of the GNU General Public |
| 7 | * License version 2, as published by the Free Software Foundation, and |
| 8 | * may be copied, distributed, and modified under those terms. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | */ |
| 16 | |
| 17 | #ifndef __ASM_ARCH_MSM_BOARD_H |
| 18 | #define __ASM_ARCH_MSM_BOARD_H |
| 19 | |
| 20 | #include <linux/types.h> |
| 21 | |
| 22 | /* platform device data structures */ |
| 23 | |
| 24 | struct msm_mddi_platform_data |
| 25 | { |
| 26 | void (*panel_power)(int on); |
| 27 | unsigned has_vsync_irq:1; |
| 28 | }; |
| 29 | |
| 30 | /* common init routines for use by arch/arm/mach-msm/board-*.c */ |
| 31 | |
| 32 | void __init msm_add_devices(void); |
| 33 | void __init msm_map_common_io(void); |
| 34 | void __init msm_init_irq(void); |
| 35 | void __init msm_init_gpio(void); |
Brian Swetland | 600f7cf | 2008-09-09 11:04:14 -0700 | [diff] [blame] | 36 | void __init msm_clock_init(void); |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 37 | |
| 38 | #endif |