PRCM: OMAP3: Fix to wrongly modified omap2_clk_wait_ready
[linux-ginger.git] / arch / arm / mach-omap2 / board-n800-bt.c
blob4ea19cca83f991a654d92bd8a003f8baab86cc50
1 /*
2 * Nokia N800 platform-specific data for Bluetooth
4 * Copyright (C) 2005, 2006 Nokia Corporation
5 * Contact: Ville Tervo <ville.tervo@nokia.com>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA
22 #include <linux/kernel.h>
23 #include <linux/platform_device.h>
24 #include <asm/arch/board.h>
26 static struct platform_device n800_bt_device = {
27 .name = "hci_h4p",
28 .id = -1,
29 .num_resources = 0,
32 void __init n800_bt_init(void)
34 const struct omap_bluetooth_config *bt_config;
36 bt_config = (void *) omap_get_config(OMAP_TAG_NOKIA_BT,
37 struct omap_bluetooth_config);
38 n800_bt_device.dev.platform_data = (void *) bt_config;
39 if (platform_device_register(&n800_bt_device) < 0)
40 BUG();