summaryrefslogtreecommitdiff
path: root/bin/nv_rd16.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nv_rd16.c')
-rw-r--r--bin/nv_rd16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nv_rd16.c b/bin/nv_rd16.c
index 61079bcda..db599976b 100644
--- a/bin/nv_rd16.c
+++ b/bin/nv_rd16.c
@@ -2,6 +2,6 @@
#define FMTDATA "0x%04x"
#define NAME "nv_rd16"
#define CAST u16
-#define READ(o) nvif_rd16(device, (o))
+#define READ(o) nvif_rd16(&device->object, (o))
#define MAIN main
#include "nv_rdfunc.h"