Commit ebae1d3a authored by Paul Mackerras's avatar Paul Mackerras Committed by Linus Torvalds

[PATCH] fix sd_find_target (v2.5.4)

This patch fixes a compile error on PPC.  It's in sd_find_target, a
function that returns a kdev_t.
parent cda62fd6
......@@ -133,7 +133,7 @@ sd_find_target(void *host, int tgt)
if (dp->device != NULL && dp->device->host == host
&& dp->device->id == tgt)
return MKDEV_SD(i);
return 0;
return NODEV;
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment