Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303449
b: refs/heads/master
c: 9624f61
h: refs/heads/master
i:
  303447: ca89a74
v: v3
  • Loading branch information
Mircea Gherzan authored and Tony Lindgren committed May 9, 2012
1 parent 98d03f2 commit 9cdb01e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a78a4cbd41fbe63be1a6763579a4bf452483cf91
refs/heads/master: 9624f615520696ffa845da2de56277197155b48c
14 changes: 12 additions & 2 deletions trunk/arch/arm/mach-omap2/board-omap4panda.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <linux/mfd/twl6040.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>
#include <linux/ti_wilink_st.h>
#include <linux/wl12xx.h>
#include <linux/platform_data/omap-abe-twl6040.h>

Expand Down Expand Up @@ -58,12 +59,21 @@
#define HDMI_GPIO_HPD 63 /* Hotplug detect */

/* wl127x BT, FM, GPS connectivity chip */
static int wl1271_gpios[] = {46, -1, -1};
static struct ti_st_plat_data wilink_platform_data = {
.nshutdown_gpio = 46,
.dev_name = "/dev/ttyO1",
.flow_cntrl = 1,
.baud_rate = 3000000,
.chip_enable = NULL,
.suspend = NULL,
.resume = NULL,
};

static struct platform_device wl1271_device = {
.name = "kim",
.id = -1,
.dev = {
.platform_data = &wl1271_gpios,
.platform_data = &wilink_platform_data,
},
};

Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/ti_wilink_st.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#ifndef TI_WILINK_ST_H
#define TI_WILINK_ST_H

#include <linux/skbuff.h>

/**
* enum proto-type - The protocol on WiLink chips which share a
* common physical interface like UART.
Expand Down

0 comments on commit 9cdb01e

Please sign in to comment.