summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/bcma_private.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-08-12 13:08:05 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-08-21 16:05:53 -0400
commit371a00448f95adaa612cf1a0b31a11e7093bc706 (patch)
tree6ffb57fcb3050a54942ffd320c149780da41b841 /drivers/bcma/bcma_private.h
parentd57ef3a6a2eeb88df47e892c66692e3f59722ffe (diff)
downloadop-kernel-dev-371a00448f95adaa612cf1a0b31a11e7093bc706.zip
op-kernel-dev-371a00448f95adaa612cf1a0b31a11e7093bc706.tar.gz
bcma: detect and register NAND flash device
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/bcma_private.h')
-rw-r--r--drivers/bcma/bcma_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h
index 94bf07c..169fc58 100644
--- a/drivers/bcma/bcma_private.h
+++ b/drivers/bcma/bcma_private.h
@@ -66,6 +66,7 @@ static inline int bcma_sflash_init(struct bcma_drv_cc *cc)
#ifdef CONFIG_BCMA_NFLASH
/* driver_chipcommon_nflash.c */
int bcma_nflash_init(struct bcma_drv_cc *cc);
+extern struct platform_device bcma_nflash_dev;
#else
static inline int bcma_nflash_init(struct bcma_drv_cc *cc)
{
OpenPOWER on IntegriCloud