ARM: pmu: add support for interrupt-affinity property
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / subdev / i2c / port.h
blob586f53dad813e9225ba2b5e921dae857c430641b
1 #ifndef __NVKM_I2C_PORT_H__
2 #define __NVKM_I2C_PORT_H__
3 #include "priv.h"
5 #ifndef MSG
6 #define MSG(l,f,a...) do { \
7 struct nvkm_i2c_port *_port = (void *)port; \
8 nv_##l(_port, "PORT:%02x: "f, _port->index, ##a); \
9 } while(0)
10 #define DBG(f,a...) MSG(debug, f, ##a)
11 #define ERR(f,a...) MSG(error, f, ##a)
12 #endif
13 #endif