linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [Suggestion] drivers: powercap: 'dev_attrs' has already removed from 'struct class'
@ 2013-10-31  2:18 Chen Gang
  2013-10-31 16:25 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Gang @ 2013-10-31  2:18 UTC (permalink / raw)
  To: srinivas.pandruvada, jacob.jun.pan, rafael.j.wysocki@intel.com,
	linuxppc-dev@lists.ozlabs.org
  Cc: Greg KH

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.

Thanks.
-- 
Chen Gang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-01  1:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31  2:18 [Suggestion] drivers: powercap: 'dev_attrs' has already removed from 'struct class' Chen Gang
2013-10-31 16:25 ` Rafael J. Wysocki
2013-11-01  1:28   ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).