From 7c92bfba4d743710dedb4b4c412ce0e62482cd72 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Wed, 14 Jan 2015 15:36:34 +1000 Subject: drm: finalise nvkm namespace switch (no binary change) The namespace of NVKM is being changed to nvkm_ instead of nouveau_, which will be used for the DRM part of the driver. This is being done in order to make it very clear as to what part of the driver a given symbol belongs to, and as a minor step towards splitting the DRM driver out to be able to stand on its own (for virt). Because there's already a large amount of churn here anyway, this is as good a time as any to also switch to NVIDIA's device and chipset naming to ease collaboration with them. A comparison of objdump disassemblies proves no code changes. Signed-off-by: Ben Skeggs --- bin/nv_aux.c | 6 +++--- bin/nv_i2c.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/nv_aux.c b/bin/nv_aux.c index 3bc11e5ff..f8b7c8022 100644 --- a/bin/nv_aux.c +++ b/bin/nv_aux.c @@ -7,7 +7,7 @@ #include static void -print_chan(struct nouveau_i2c_port *chan) +print_chan(struct nvkm_i2c_port *chan) { printf("chan 0x%02x: type %04x\n", chan->index, nv_mclass(chan)); } @@ -21,8 +21,8 @@ main(int argc, char **argv) u64 dev = ~0ULL; struct nvif_client *client; struct nvif_device *device; - struct nouveau_i2c_port *chan; - struct nouveau_i2c *i2c; + struct nvkm_i2c_port *chan; + struct nvkm_i2c *i2c; int action = -1, index = -1; int addr = -1, val = -1; int ret, c; diff --git a/bin/nv_i2c.c b/bin/nv_i2c.c index e7fa4cd10..ee469f0a0 100644 --- a/bin/nv_i2c.c +++ b/bin/nv_i2c.c @@ -7,7 +7,7 @@ #include static void -print_port(struct nouveau_i2c_port *port) +print_port(struct nvkm_i2c_port *port) { printf("port 0x%02x: type %04x\n", port->index, nv_mclass(port)); } @@ -21,8 +21,8 @@ main(int argc, char **argv) u64 dev = ~0ULL; struct nvif_client *client; struct nvif_device *device; - struct nouveau_i2c_port *port; - struct nouveau_i2c *i2c; + struct nvkm_i2c_port *port; + struct nvkm_i2c *i2c; int addr = -1, reg = -1, val = -1; int action = -1, index = -1; int ret, c; -- cgit v1.2.1