> Use the proper DEV_ATTR() macro intead of trying to roll your own. And, > I bet you get a compiler warning when the code above compiles, do not > ignore it, it is pointing out your error... > > thanks, > > greg k-h thanks a lot greg, i ll try it out. -- play the game -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/