commit | aa296a891d1f3704d40127e998c31dfda531fca7 | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@secretlab.ca> | Wed Jun 17 00:30:02 2009 -0600 |
committer | Grant Likely <grant.likely@secretlab.ca> | Wed Jun 17 00:30:02 2009 -0600 |
tree | a08a4bb85861ec698bcbd9b234968aed43a4cc22 | |
parent | 313485175da221c388f6a8ecf4c30062ba9bea17 [diff] |
fbdev/xilinxfb: Fix improper casting and tighen up probe path The xilinxfb driver is improperly casting a physical address to a u32, and the probe routine isn't as straight forward as it could be. (discovered by gcc spitting out warnings on most recent change to xilinxfb driver). This patch fixes the cast and simplifies the probe path. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Tested-by: John Linn <john.linn@xilinx.com>