summaryrefslogtreecommitdiff
path: root/drivers/bcma/bcma_private.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-08-12 15:08:05 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-08-22 00:05:53 +0400
commit371a00448f95adaa612cf1a0b31a11e7093bc706 (patch)
tree6ffb57fcb3050a54942ffd320c149780da41b841 /drivers/bcma/bcma_private.h
parentd57ef3a6a2eeb88df47e892c66692e3f59722ffe (diff)
downloadlinux-371a00448f95adaa612cf1a0b31a11e7093bc706.tar.xz
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 94bf07c54a43..169fc58427d3 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)
{