~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-gemini/board-wbd222.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        .init   = gemini_timer_init,
85
85
};
86
86
 
87
 
#ifdef CONFIG_MTD_PARTITIONS
88
87
static struct mtd_partition wbd222_partitions[] = {
89
88
        {
90
89
                .name           = "RedBoot",
116
115
                .mask_flags     = MTD_WRITEABLE,
117
116
        }
118
117
};
119
 
#define wbd222_num_partitions   ARRAY_SIZE(wbd222_partitions)
120
 
#else
121
 
#define wbd222_partitions       NULL
122
 
#define wbd222_num_partitions   0
123
 
#endif /* CONFIG_MTD_PARTITIONS */
 
118
#define wbd222_num_partitions  ARRAY_SIZE(wbd222_partitions)
124
119
 
125
120
static void __init wbd222_init(void)
126
121
{