Skip to content

Commit

Permalink
mtd: nand: omap2: Rename shippable module to omap2_nand
Browse files Browse the repository at this point in the history
As both omap2 onenand and omap2 nand driver modules are
named the same i.e. "omap2.ko", only one of them gets shipped
during MODPOST if both are configured as loadable modules.

To avoid this ambiguity let's ship the omap2 nand
driver as "omap2_nand.ko"

Reported by Pierre Neyron via github
beagleboard/linux#40

Cc: Robert Nelson <[email protected]>
Signed-off-by: Roger Quadros <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
  • Loading branch information
Roger Quadros authored and computersforpeace committed Sep 2, 2015
1 parent e374390 commit 21ad476
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/mtd/nand/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ obj-$(CONFIG_MTD_NAND_CS553X) += cs553x_nand.o
obj-$(CONFIG_MTD_NAND_NDFC) += ndfc.o
obj-$(CONFIG_MTD_NAND_ATMEL) += atmel_nand.o
obj-$(CONFIG_MTD_NAND_GPIO) += gpio.o
obj-$(CONFIG_MTD_NAND_OMAP2) += omap2.o
omap2_nand-objs := omap2.o
obj-$(CONFIG_MTD_NAND_OMAP2) += omap2_nand.o
obj-$(CONFIG_MTD_NAND_OMAP_BCH_BUILD) += omap_elm.o
obj-$(CONFIG_MTD_NAND_CM_X270) += cmx270_nand.o
obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o
Expand Down

0 comments on commit 21ad476

Please sign in to comment.