diff options
author | françois romieu <[email protected]> | 2009-06-17 11:43:11 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2009-06-17 18:46:46 -0700 |
commit | c2f3f3a2fe4e35db352cfe1176e384e36bfd91b1 (patch) | |
tree | 28abad21db7632288692371f62d8c47108bfeeaa /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | fb1001f3de1a8576b25d929502f1fe7865ff32dc (diff) |
sis190: use an adequate phy list entry as a fallback
When sis190 driver is trying to get default phy, if it doesn't find home
or lan phy, it falls back to the first phy in the phy list but list_entry()
points to a bogus entry. list_first_entry() should be used instead.
Signed-off-by: Arnaud Patard <[email protected]>
Acked-off-by: Francois Romieu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions