diff options
| author | Olof Johansson <olof@lixom.net> | 2013-02-05 17:03:31 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-02-05 17:03:45 -0500 |
| commit | b6a03d0492dedb5c10b8a5708ee92e04b0590c07 (patch) | |
| tree | 21774ee93c50847fe1ea044f2cabae0746ac39d3 /include/linux/platform_data | |
| parent | 3e93093ecd0c144e86a86cc1f165221b6cd3e7fb (diff) | |
| parent | 97c794a1e37b1ca128ef38f17c069186bfa5fb1b (diff) | |
Merge tag 'omap-for-v3.9/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
From Tony Lindgren:
OMAP GPMC (General Purpose Memory Controller) changes to add
device tree bindings.
* tag 'omap-for-v3.9/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: gpmc: Add device tree documentation for elm handle
ARM: OMAP2+: gpmc: add DT bindings for OneNAND
ARM: OMAP2+: gpmc-onenand: drop __init annotation
mtd: omap-onenand: pass device_node in platform data
ARM: OMAP2+: Prevent potential crash if GPMC probe fails
ARM: OMAP2+: gpmc: Remove unneeded of_node_put()
ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND
ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs
ARM: OMAP: gpmc-nand: drop __init annotation
mtd: omap-nand: pass device_node in platform data
ARM: OMAP: gpmc: don't create devices from initcall on DT
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mtd-nand-omap2.h | 4 | ||||
| -rw-r--r-- | include/linux/platform_data/mtd-onenand-omap2.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h index 24d32ca34bef..6bf9ef43ddb1 100644 --- a/include/linux/platform_data/mtd-nand-omap2.h +++ b/include/linux/platform_data/mtd-nand-omap2.h | |||
| @@ -60,6 +60,8 @@ struct omap_nand_platform_data { | |||
| 60 | int devsize; | 60 | int devsize; |
| 61 | enum omap_ecc ecc_opt; | 61 | enum omap_ecc ecc_opt; |
| 62 | struct gpmc_nand_regs reg; | 62 | struct gpmc_nand_regs reg; |
| 63 | }; | ||
| 64 | 63 | ||
| 64 | /* for passing the partitions */ | ||
| 65 | struct device_node *of_node; | ||
| 66 | }; | ||
| 65 | #endif | 67 | #endif |
diff --git a/include/linux/platform_data/mtd-onenand-omap2.h b/include/linux/platform_data/mtd-onenand-omap2.h index 685af7e8b120..e9a9fb188f97 100644 --- a/include/linux/platform_data/mtd-onenand-omap2.h +++ b/include/linux/platform_data/mtd-onenand-omap2.h | |||
| @@ -29,5 +29,8 @@ struct omap_onenand_platform_data { | |||
| 29 | u8 flags; | 29 | u8 flags; |
| 30 | u8 regulator_can_sleep; | 30 | u8 regulator_can_sleep; |
| 31 | u8 skip_initial_unlocking; | 31 | u8 skip_initial_unlocking; |
| 32 | |||
| 33 | /* for passing the partitions */ | ||
| 34 | struct device_node *of_node; | ||
| 32 | }; | 35 | }; |
| 33 | #endif | 36 | #endif |
