Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172600
b: refs/heads/master
c: 74e74de
h: refs/heads/master
v: v3
  • Loading branch information
Igor Grinberg authored and Eric Miao committed Dec 1, 2009
1 parent 74bbfcd commit a1fe816
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 83e560eee12b3215c193338496090838e5f6d1cb
refs/heads/master: 74e74defd6c471fc7ec108e64cb953164940a122
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-pxa/cm-x300.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <mach/ohci.h>
#include <plat/i2c.h>
#include <plat/pxa3xx_nand.h>
#include <mach/audio.h>

#include <asm/mach/map.h>

Expand Down Expand Up @@ -305,6 +306,15 @@ static void __init cm_x300_init_spi(void)
static inline void cm_x300_init_spi(void) {}
#endif

#if defined(CONFIG_SND_PXA2XX_LIB_AC97)
static void __init cm_x300_init_ac97(void)
{
pxa_set_ac97_info(NULL);
}
#else
static inline void cm_x300_init_ac97(void) {}
#endif

#if defined(CONFIG_MTD_NAND_PXA3xx) || defined(CONFIG_MTD_NAND_PXA3xx_MODULE)
static struct mtd_partition cm_x300_nand_partitions[] = {
[0] = {
Expand Down Expand Up @@ -531,6 +541,7 @@ static void __init cm_x300_init(void)
cm_x300_init_i2c();
cm_x300_init_spi();
cm_x300_init_rtc();
cm_x300_init_ac97();
}

static void __init cm_x300_fixup(struct machine_desc *mdesc, struct tag *tags,
Expand Down

0 comments on commit a1fe816

Please sign in to comment.