Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267324
b: refs/heads/master
c: efe3ed9
h: refs/heads/master
v: v3
  • Loading branch information
Feng Tang authored and Greg Kroah-Hartman committed Aug 26, 2011
1 parent 472224f commit 11c6653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b18bd52b2c63ea030364370d0d1f5cc6950aea7
refs/heads/master: efe3ed9837fd2f9679659673f1d2078f1597bf18
3 changes: 3 additions & 0 deletions trunk/arch/x86/platform/mrst/mrst.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/scatterlist.h>
#include <linux/sfi.h>
#include <linux/intel_pmic_gpio.h>
#include <linux/spi/spi.h>
Expand Down Expand Up @@ -392,6 +394,7 @@ static void __init *max3111_platform_data(void *info)
struct spi_board_info *spi_info = info;
int intr = get_gpio_by_name("max3111_int");

spi_info->mode = SPI_MODE_0;
if (intr == -1)
return NULL;
spi_info->irq = intr + MRST_IRQ_OFFSET;
Expand Down

0 comments on commit 11c6653

Please sign in to comment.