Skip to content

Commit

Permalink
Merge branch 'for-rmk-rc' of git://git.pengutronix.de/git/imx/linux-2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell King authored and Russell King committed Aug 15, 2009
2 parents dde5828 + 563abb4 commit 8b61207
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-mx3/mx31moboard-devboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static struct imxuart_platform_data uart_pdata = {

static int devboard_sdhc2_get_ro(struct device *dev)
{
return gpio_get_value(SDHC2_WP);
return !gpio_get_value(SDHC2_WP);
}

static int devboard_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-mx3/mx31moboard-marxbot.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static unsigned int marxbot_pins[] = {

static int marxbot_sdhc2_get_ro(struct device *dev)
{
return gpio_get_value(SDHC2_WP);
return !gpio_get_value(SDHC2_WP);
}

static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-mx3/mx31moboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static struct imxi2c_platform_data moboard_i2c1_pdata = {

static int moboard_sdhc1_get_ro(struct device *dev)
{
return gpio_get_value(SDHC1_WP);
return !gpio_get_value(SDHC1_WP);
}

static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq,
Expand Down
9 changes: 0 additions & 9 deletions arch/arm/mach-mx3/pcm037_eet.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@
#include "devices.h"

static unsigned int pcm037_eet_pins[] = {
/* SPI #1 */
MX31_PIN_CSPI1_MISO__MISO,
MX31_PIN_CSPI1_MOSI__MOSI,
MX31_PIN_CSPI1_SCLK__SCLK,
MX31_PIN_CSPI1_SPI_RDY__SPI_RDY,
MX31_PIN_CSPI1_SS0__SS0,
MX31_PIN_CSPI1_SS1__SS1,
MX31_PIN_CSPI1_SS2__SS2,

/* Reserve and hardwire GPIO 57 high - S6E63D6 chipselect */
IOMUX_MODE(MX31_PIN_KEY_COL7, IOMUX_CONFIG_GPIO),
/* GPIO keys */
Expand Down

0 comments on commit 8b61207

Please sign in to comment.