summaryrefslogtreecommitdiff
path: root/drivers/video/ati_radeon_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/ati_radeon_fb.c')
-rw-r--r--drivers/video/ati_radeon_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/ati_radeon_fb.c b/drivers/video/ati_radeon_fb.c
index c4da2e3ae7..383666781c 100644
--- a/drivers/video/ati_radeon_fb.c
+++ b/drivers/video/ati_radeon_fb.c
@@ -642,7 +642,7 @@ void *video_hw_init(void)
if (penv) {
/* deceide if it is a string */
if (penv[0] <= '9') {
- videomode = (int) simple_strtoul (penv, NULL, 16);
+ videomode = (int)hextoul(penv, NULL);
tmp = 1;
}
} else {