Hi Yani, On Friday 06 May 2005 01:40, Yani Ioannou wrote: > We would probably want to define another DEVICE_ATTRIBUTE like macro > or add a void * parameter to the DEVICE_ATTRIBUTE macro. Any opinions > on which way to go? This might be done for the other *_ATTRIBUTE > macros too. > No, I don't think so. Again, macros are normally used to initialize statically allocated attributes, exposing void * pointer does not do them any good. It can only lead to bugs when driver writer misses the fact that pointer is shared between all instances of attribute. -- Dmitry