Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252497
b: refs/heads/master
c: 61cc827
h: refs/heads/master
i:
  252495: 66dfa30
v: v3
  • Loading branch information
Mike Frysinger authored and David Woodhouse committed May 25, 2011
1 parent 678ab14 commit 4877e9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d2d2b657f61cccc4b339b031b106c911ea942a0
refs/heads/master: 61cc8276fa776ced06b0e5b67b57e12c4997d388
6 changes: 3 additions & 3 deletions trunk/drivers/mtd/devices/sst25l.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct flash_info {

#define to_sst25l_flash(x) container_of(x, struct sst25l_flash, mtd)

static struct flash_info __initdata sst25l_flash_info[] = {
static struct flash_info __devinitdata sst25l_flash_info[] = {
{"sst25lf020a", 0xbf43, 256, 1024, 4096},
{"sst25lf040a", 0xbf44, 256, 2048, 4096},
};
Expand Down Expand Up @@ -469,7 +469,7 @@ static int __devinit sst25l_probe(struct spi_device *spi)
return 0;
}

static int __exit sst25l_remove(struct spi_device *spi)
static int __devexit sst25l_remove(struct spi_device *spi)
{
struct sst25l_flash *flash = dev_get_drvdata(&spi->dev);
int ret;
Expand All @@ -490,7 +490,7 @@ static struct spi_driver sst25l_driver = {
.owner = THIS_MODULE,
},
.probe = sst25l_probe,
.remove = __exit_p(sst25l_remove),
.remove = __devexit_p(sst25l_remove),
};

static int __init sst25l_init(void)
Expand Down

0 comments on commit 4877e9a

Please sign in to comment.