Thread (3 messages) 3 messages, 2 authors, 2013-11-01

Re: [Suggestion] drivers: powercap: 'dev_attrs' has already removed from 'struct class'

From: Chen Gang <hidden>
Date: 2013-11-01 01:29:36

On 11/01/2013 12:25 AM, Rafael J. Wysocki wrote:
On 10/31/2013 3:18 AM, Chen Gang wrote:
quoted
Hello Maintainers

It is removed by "bcc8edb driver core: remove dev_attrs from struct
class" in Oct 5 2013. But "75d2364 PowerCap: Add class driver" still
use it in Oct 11 2013.

The related error (for powerpc with allmodconfig):

   CC      drivers/powercap/powercap_sys.o
drivers/powercap/powercap_sys.c:484:2: error: unknown field
�dev_attrs� specified in initializer
drivers/powercap/powercap_sys.c:484:2: warning: initialization from
incompatible pointer type [enabled by default]
drivers/powercap/powercap_sys.c:484:2: warning: (near initialization
for �powercap_class.suspend�) [enabled by default]


Please give a check thanks.
That should have been fixed in the current linux-next already.
OK, thanks.
Thanks,
Rafael


-- 
Chen Gang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help