<commit_before>/*
 * Copyright (C) 2005 Nokia Corporation
 * Author: <NAME> <<EMAIL>>
 *
 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
 *
 * Modified from the original mach-omap/omap2/board-generic.c did by Paul
 * to support the OMAP2+ device tree boards with an unique board file.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#include <linux/io.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/irqdomain.h>
#include <linux/i2c/twl.h>

#include <mach/hardware.h>
#include <asm/hardware/gic.h>
#include <asm/mach/arch.h>

#include <plat/board.h>
#include "common.h"
#include "common-board-devices.h"

static struct of_device_id irq_match[] __initdata = {
	{ .compatible = "ti,omap2-intc", .data = omap_intc_of_init, },
	{ .compatible = "arm,cortex-a9-gic", .data = gic_of_init, },
	{ }
};<commit_msg>ARM: OMAP2+: Fix build error when only ARCH_OMAP2/3 or 4 is selected<commit_after>/*
 * Copyright (C) 2005 Nokia Corporation
 * Author: <NAME> <<EMAIL>>
 *
 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
 *
 * Modified from the original mach-omap/omap2/board-generic.c did by Paul
 * to support the OMAP2+ device tree boards with an unique board file.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#include <linux/io.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/irqdomain.h>
#include <linux/i2c/twl.h>

#include <mach/hardware.h>
#include <asm/hardware/gic.h>
#include <asm/mach/arch.h>

#include <plat/board.h>
#include "common.h"
#include "common-board-devices.h"

#if !(defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3))
#define omap_intc_of_init	NULL
#endif
#ifndef CONFIG_ARCH_OMAP4
#define gic_of_init		NULL
#endif

static struct of_device_id irq_match[] __initdata = {
	{ .compatible = "ti,omap2-intc", .data = omap_intc_of_init, },
	{ .compatible = "arm,cortex-a9-gic", .data = gic_of_init, },
	{ }
};
{'fraction_non_alphanumeric': 0.13348314606741574, 'fraction_numerical': 0.015730337078651686, 'mean_word_length': 4.389830508474576, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4535496', 'n_tokens_mistral': 833, 'n_tokens_neox': 800, 'n_words': 226}