common.h (415d2b3392d7a80903e0f97f051201aa02bf20e9) | common.h (47bd59e538d4e7b3ad9c18bef5c1052657bdff59) |
---|---|
1/* 2 * 3 * Header for code common to all OMAP1 machines. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. --- 12 unchanged lines hidden (view full) --- 21 * You should have received a copy of the GNU General Public License along 22 * with this program; if not, write to the Free Software Foundation, Inc., 23 * 675 Mass Ave, Cambridge, MA 02139, USA. 24 */ 25 26#ifndef __ARCH_ARM_MACH_OMAP1_COMMON_H 27#define __ARCH_ARM_MACH_OMAP1_COMMON_H 28 | 1/* 2 * 3 * Header for code common to all OMAP1 machines. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License as published by the 7 * Free Software Foundation; either version 2 of the License, or (at your 8 * option) any later version. --- 12 unchanged lines hidden (view full) --- 21 * You should have received a copy of the GNU General Public License along 22 * with this program; if not, write to the Free Software Foundation, Inc., 23 * 675 Mass Ave, Cambridge, MA 02139, USA. 24 */ 25 26#ifndef __ARCH_ARM_MACH_OMAP1_COMMON_H 27#define __ARCH_ARM_MACH_OMAP1_COMMON_H 28 |
29#include <linux/mtd/mtd.h> | |
30#include <linux/platform_data/i2c-omap.h> 31#include <linux/reboot.h> 32 33#include <asm/exception.h> 34 35#include <mach/irqs.h> 36 37#include "soc.h" --- 39 unchanged lines hidden (view full) --- 77void omap1_init_early(void); 78void omap1_init_irq(void); 79void __exception_irq_entry omap1_handle_irq(struct pt_regs *regs); 80void omap1_init_late(void); 81void omap1_restart(enum reboot_mode, const char *); 82 83extern void __init omap_check_revision(void); 84 | 29#include <linux/platform_data/i2c-omap.h> 30#include <linux/reboot.h> 31 32#include <asm/exception.h> 33 34#include <mach/irqs.h> 35 36#include "soc.h" --- 39 unchanged lines hidden (view full) --- 76void omap1_init_early(void); 77void omap1_init_irq(void); 78void __exception_irq_entry omap1_handle_irq(struct pt_regs *regs); 79void omap1_init_late(void); 80void omap1_restart(enum reboot_mode, const char *); 81 82extern void __init omap_check_revision(void); 83 |
85extern void omap1_nand_cmd_ctl(struct mtd_info *mtd, int cmd, | 84struct nand_chip; 85extern void omap1_nand_cmd_ctl(struct nand_chip *this, int cmd, |
86 unsigned int ctrl); 87 88extern void omap1_timer_init(void); 89#ifdef CONFIG_OMAP_32K_TIMER 90extern int omap_32k_timer_init(void); 91#else 92static inline int __init omap_32k_timer_init(void) 93{ --- 13 unchanged lines hidden --- | 86 unsigned int ctrl); 87 88extern void omap1_timer_init(void); 89#ifdef CONFIG_OMAP_32K_TIMER 90extern int omap_32k_timer_init(void); 91#else 92static inline int __init omap_32k_timer_init(void) 93{ --- 13 unchanged lines hidden --- |