diff options
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/smu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 54ac7ffacb40..7d5a6b40b31c 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #include <asm/pmac_feature.h> | 45 | #include <asm/pmac_feature.h> |
46 | #include <asm/smu.h> | 46 | #include <asm/smu.h> |
47 | #include <asm/sections.h> | 47 | #include <asm/sections.h> |
48 | #include <asm/abs_addr.h> | ||
49 | #include <asm/uaccess.h> | 48 | #include <asm/uaccess.h> |
50 | 49 | ||
51 | #define VERSION "0.7" | 50 | #define VERSION "0.7" |
@@ -502,7 +501,7 @@ int __init smu_init (void) | |||
502 | * 32 bits value safely | 501 | * 32 bits value safely |
503 | */ | 502 | */ |
504 | smu->cmd_buf_abs = (u32)smu_cmdbuf_abs; | 503 | smu->cmd_buf_abs = (u32)smu_cmdbuf_abs; |
505 | smu->cmd_buf = (struct smu_cmd_buf *)abs_to_virt(smu_cmdbuf_abs); | 504 | smu->cmd_buf = __va(smu_cmdbuf_abs); |
506 | 505 | ||
507 | smu->db_node = of_find_node_by_name(NULL, "smu-doorbell"); | 506 | smu->db_node = of_find_node_by_name(NULL, "smu-doorbell"); |
508 | if (smu->db_node == NULL) { | 507 | if (smu->db_node == NULL) { |