Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123694
b: refs/heads/master
c: 854feae
h: refs/heads/master
v: v3
  • Loading branch information
Jaya Kumar authored and Russell King committed Dec 13, 2008
1 parent b70df5a commit 5c25b53
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 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: 1124d6d21f80ec10cc962e2961c21a8dd1e0ca6a
refs/heads/master: 854feaede51c155897335f1f0ca7acda96b04a64
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-pxa/am200epd.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@
#include <linux/irq.h>
#include <linux/gpio.h>

#include <mach/gumstix.h>
#include <mach/mfp-pxa25x.h>
#include <mach/pxafb.h>

#include "generic.h"

#include <video/metronomefb.h>

static unsigned int panel_type = 6;
Expand Down Expand Up @@ -331,6 +335,15 @@ static struct metronome_board am200_board = {
.cleanup = am200_cleanup,
};

static unsigned long am200_pin_config[] __initdata = {
GPIO51_GPIO,
GPIO49_GPIO,
GPIO48_GPIO,
GPIO32_GPIO,
GPIO17_GPIO,
GPIO16_GPIO,
};

static int __init am200_init(void)
{
int ret;
Expand All @@ -339,6 +352,8 @@ static int __init am200_init(void)
* creation events */
fb_register_client(&am200_fb_notif);

pxa2xx_mfp_config(ARRAY_AND_SIZE(am200_pin_config));

/* request our platform independent driver */
request_module("metronomefb");

Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/arm/mach-pxa/gumstix.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,6 @@ static unsigned long gumstix_pin_config[] __initdata = {
GPIO6_MMC_CLK,
GPIO53_MMC_CLK,
GPIO8_MMC_CS0,
/* these are used by AM200EPD */
GPIO51_GPIO,
GPIO49_GPIO,
GPIO48_GPIO,
GPIO32_GPIO,
GPIO17_GPIO,
GPIO16_GPIO,
};

static void __init gumstix_init(void)
Expand Down

0 comments on commit 5c25b53

Please sign in to comment.