diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-28 05:15:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:40 -0400 |
commit | 7d345b2253f92804948d66f4db17a49c1932b9a3 (patch) | |
tree | 676bde686170e6c569cf6752fde7da3d803dfc14 /drivers/video/riva/riva_hw.c | |
parent | 7ce3ab100e4e115ca2c4fd931844a0f1a50df406 (diff) |
fbdev: nv: fix sparse noise
Mostly signedness fixes. nv10_sim_state existence in both drivers suggests
that one of them should be removed, but that's for later.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/riva/riva_hw.c')
-rw-r--r-- | drivers/video/riva/riva_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/riva/riva_hw.c b/drivers/video/riva/riva_hw.c index 13307703a9f0..78fdbf5178d7 100644 --- a/drivers/video/riva/riva_hw.c +++ b/drivers/video/riva/riva_hw.c | |||
@@ -231,7 +231,7 @@ typedef struct { | |||
231 | int nvclk_khz; | 231 | int nvclk_khz; |
232 | char mem_page_miss; | 232 | char mem_page_miss; |
233 | char mem_latency; | 233 | char mem_latency; |
234 | int memory_type; | 234 | u32 memory_type; |
235 | int memory_width; | 235 | int memory_width; |
236 | char enable_video; | 236 | char enable_video; |
237 | char gr_during_vid; | 237 | char gr_during_vid; |
@@ -2107,7 +2107,7 @@ static void nv10GetConfig | |||
2107 | ) | 2107 | ) |
2108 | { | 2108 | { |
2109 | struct pci_dev* dev; | 2109 | struct pci_dev* dev; |
2110 | int amt; | 2110 | u32 amt; |
2111 | 2111 | ||
2112 | #ifdef __BIG_ENDIAN | 2112 | #ifdef __BIG_ENDIAN |
2113 | /* turn on big endian register access */ | 2113 | /* turn on big endian register access */ |