/* * Broadcom specific AMBA * ChipCommon NAND flash interface * * Licensed under the GNU/GPL. See COPYING for details. */ #include "bcma_private.h" #include <linux/bitops.h> #include <linux/platform_device.h> #include <linux/platform_data/brcmnand.h> #include <linux/bcma/bcma.h> /* Alternate NAND controller driver name in order to allow both bcm47xxnflash * and bcma_brcmnand to be built into the same kernel image. */ static const char *bcma_nflash_alt_name = …; struct platform_device bcma_nflash_dev = …; static const char *probes[] = …; /* Initialize NAND flash access */ int bcma_nflash_init(struct bcma_drv_cc *cc) { … }