Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258687
b: refs/heads/master
c: 31b738a
h: refs/heads/master
i:
  258685: e6c3363
  258683: bbf47fa
  258679: da2f170
  258671: c3f161e
  258655: 9ea13f9
  258623: 65bcdb3
  258559: 4c8e681
v: v3
  • Loading branch information
Fabio Estevam authored and Sascha Hauer committed Jul 7, 2011
1 parent 1000598 commit c6c2613
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 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: ae817266710b18f767cf247e9568f52fb88abca0
refs/heads/master: 31b738a4f4dfea3b464a9cb5fe18aa4ba85eb984
17 changes: 3 additions & 14 deletions trunk/arch/arm/mach-imx/mach-scb9328.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,7 @@ static const int mxc_uart1_pins[] = {
PC12_PF_UART1_RXD,
};

static int uart1_mxc_init(struct platform_device *pdev)
{
return mxc_gpio_setup_multiple_pins(mxc_uart1_pins,
ARRAY_SIZE(mxc_uart1_pins), "UART1");
}

static void uart1_mxc_exit(struct platform_device *pdev)
{
mxc_gpio_release_multiple_pins(mxc_uart1_pins,
ARRAY_SIZE(mxc_uart1_pins));
}

static const struct imxuart_platform_data uart_pdata __initconst = {
.init = uart1_mxc_init,
.exit = uart1_mxc_exit,
.flags = IMXUART_HAVE_RTSCTS,
};

Expand All @@ -129,6 +115,9 @@ static struct platform_device *devices[] __initdata = {
*/
static void __init scb9328_init(void)
{
mxc_gpio_setup_multiple_pins(mxc_uart1_pins,
ARRAY_SIZE(mxc_uart1_pins), "UART1");

imx1_add_imx_uart0(&uart_pdata);

printk(KERN_INFO"Scb9328: Adding devices\n");
Expand Down

0 comments on commit c6c2613

Please sign in to comment.