Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374750
b: refs/heads/master
c: 41c8153
h: refs/heads/master
v: v3
  • Loading branch information
Rafał Miłecki authored and David Woodhouse committed Apr 5, 2013
1 parent 9856676 commit 9661105
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ccef4dcc5a1628dd662297b028f08e0b06bbf05e
refs/heads/master: 41c81536ea25d17933b5b503053a5990ec05502a
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/devices/bcm47xxsflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ static int bcm47xxsflash_bcma_probe(struct platform_device *pdev)
}
sflash->priv = b47s;

b47s->bcma_cc = container_of(sflash, struct bcma_drv_cc, sflash);

b47s->window = sflash->window;
b47s->blocksize = sflash->blocksize;
b47s->numblocks = sflash->numblocks;
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/mtd/devices/bcm47xxsflash.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

#include <linux/mtd/mtd.h>

struct bcma_drv_cc;

struct bcm47xxsflash {
struct bcma_drv_cc *bcma_cc;

u32 window;
u32 blocksize;
u16 numblocks;
Expand Down

0 comments on commit 9661105

Please sign in to comment.