Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336303
b: refs/heads/master
c: ab5023e
h: refs/heads/master
i:
  336301: bc08531
  336299: 242ac66
  336295: 68d8875
  336287: 87a5e5c
v: v3
  • Loading branch information
Tushar Behera authored and Chris Ball committed Dec 6, 2012
1 parent f112e86 commit c1b4bd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a7e968799bbc1e7d6e56a77abd62c714509040c4
refs/heads/master: ab5023efdcfa87512663aca120245b0fec8511eb
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/host/sdhci-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,12 @@ static int __devinit sdhci_s3c_parse_dt(struct device *dev,
return -ENOMEM;

/* get the card detection method */
if (of_get_property(node, "broken-cd", 0)) {
if (of_get_property(node, "broken-cd", NULL)) {
pdata->cd_type = S3C_SDHCI_CD_NONE;
goto setup_bus;
}

if (of_get_property(node, "non-removable", 0)) {
if (of_get_property(node, "non-removable", NULL)) {
pdata->cd_type = S3C_SDHCI_CD_PERMANENT;
goto setup_bus;
}
Expand Down

0 comments on commit c1b4bd5

Please sign in to comment.