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
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
= {
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)