mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 17:15:46 -04:00
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 <bskeggs@redhat.com>
14 lines
416 B
C
14 lines
416 B
C
#ifndef __NVKM_I2C_PORT_H__
|
|
#define __NVKM_I2C_PORT_H__
|
|
#include "priv.h"
|
|
|
|
#ifndef MSG
|
|
#define MSG(l,f,a...) do { \
|
|
struct nvkm_i2c_port *_port = (void *)port; \
|
|
nv_##l(_port, "PORT:%02x: "f, _port->index, ##a); \
|
|
} while(0)
|
|
#define DBG(f,a...) MSG(debug, f, ##a)
|
|
#define ERR(f,a...) MSG(error, f, ##a)
|
|
#endif
|
|
#endif
|