aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/macintosh/rack-meter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/rack-meter.c b/drivers/macintosh/rack-meter.c
index 5ed41fe84e57..f83fad2a3ff4 100644
--- a/drivers/macintosh/rack-meter.c
+++ b/drivers/macintosh/rack-meter.c
@@ -171,11 +171,11 @@ static void rackmeter_setup_dbdma(struct rackmeter *rm)
171 /* Make sure dbdma is reset */ 171 /* Make sure dbdma is reset */
172 DBDMA_DO_RESET(rm->dma_regs); 172 DBDMA_DO_RESET(rm->dma_regs);
173 173
174 pr_debug("rackmeter: mark offset=0x%lx\n", 174 pr_debug("rackmeter: mark offset=0x%zx\n",
175 offsetof(struct rackmeter_dma, mark)); 175 offsetof(struct rackmeter_dma, mark));
176 pr_debug("rackmeter: buf1 offset=0x%lx\n", 176 pr_debug("rackmeter: buf1 offset=0x%zx\n",
177 offsetof(struct rackmeter_dma, buf1)); 177 offsetof(struct rackmeter_dma, buf1));
178 pr_debug("rackmeter: buf2 offset=0x%lx\n", 178 pr_debug("rackmeter: buf2 offset=0x%zx\n",
179 offsetof(struct rackmeter_dma, buf2)); 179 offsetof(struct rackmeter_dma, buf2));
180 180
181 /* Prepare 4 dbdma commands for the 2 buffers */ 181 /* Prepare 4 dbdma commands for the 2 buffers */