Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374773
b: refs/heads/master
c: 19d69b8
h: refs/heads/master
i:
  374771: 51154a6
v: v3
  • Loading branch information
Sachin Kamat authored and David Woodhouse committed Apr 5, 2013
1 parent da996f6 commit cc0a715
Show file tree
Hide file tree
Showing 2 changed files with 2 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: dcf8abfcb0816adfb9bb175cbea00d7a1a2cae69
refs/heads/master: 19d69b86007e6ede34c08f0b5635d1aaba6a46b7
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/devices/mtd_dataflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ static const struct of_device_id dataflash_dt_ids[] = {
{ .compatible = "atmel,dataflash", },
{ /* sentinel */ }
};
#else
#define dataflash_dt_ids NULL
#endif

/* ......................................................................... */
Expand Down Expand Up @@ -914,7 +912,7 @@ static struct spi_driver dataflash_driver = {
.driver = {
.name = "mtd_dataflash",
.owner = THIS_MODULE,
.of_match_table = dataflash_dt_ids,
.of_match_table = of_match_ptr(dataflash_dt_ids),
},

.probe = dataflash_probe,
Expand Down

0 comments on commit cc0a715

Please sign in to comment.