diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-01-03 12:56:38 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-01-03 16:08:18 -0500 |
commit | 236cdc7bc718566a7e7cb9f763b51a8dcad88cbe (patch) | |
tree | d7009269e0b75a570d095aeb3fd72c317d0c4399 /drivers/mtd/maps/Kconfig | |
parent | a4f740cf33f7f6c164bbde3c0cdbcc77b0c4997c (diff) |
of: make drivers depend on CONFIG_OF instead of CONFIG_PPC_OF
Some OF drivers could likely be used on non-powerpc OF based platforms,
so fix the kconfig depends to be CONFIG_OF instead of CONFIG_PPC_OF.
Compile tested on ARM and sparc.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/mtd/maps/Kconfig')
-rw-r--r-- | drivers/mtd/maps/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index a0dd7bba9481..5d37d315fa98 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -72,7 +72,7 @@ config MTD_PHYSMAP_BANKWIDTH | |||
72 | 72 | ||
73 | config MTD_PHYSMAP_OF | 73 | config MTD_PHYSMAP_OF |
74 | tristate "Flash device in physical memory map based on OF description" | 74 | tristate "Flash device in physical memory map based on OF description" |
75 | depends on (MICROBLAZE || PPC_OF) && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM) | 75 | depends on OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM) |
76 | help | 76 | help |
77 | This provides a 'mapping' driver which allows the NOR Flash and | 77 | This provides a 'mapping' driver which allows the NOR Flash and |
78 | ROM driver code to communicate with chips which are mapped | 78 | ROM driver code to communicate with chips which are mapped |