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

* Re: [Suggestion] drivers: powercap: 'dev_attrs' has already removed from 'struct class'
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2013-10-31 16:25 UTC (permalink / raw)
  To: Chen Gang, srinivas.pandruvada, jacob.jun.pan,
	linuxppc-dev@lists.ozlabs.org
  Cc: Greg KH

On 10/31/2013 3:18 AM, Chen Gang wrote:
> 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.

Thanks,
Rafael

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

* Re: [Suggestion] drivers: powercap: 'dev_attrs' has already removed from 'struct class'
  2013-10-31 16:25 ` Rafael J. Wysocki
@ 2013-11-01  1:28   ` Chen Gang
  0 siblings, 0 replies; 3+ messages in thread
From: Chen Gang @ 2013-11-01  1:28 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Greg KH, jacob.jun.pan, linuxppc-dev@lists.ozlabs.org,
	srinivas.pandruvada

On 11/01/2013 12:25 AM, Rafael J. Wysocki wrote:
> On 10/31/2013 3:18 AM, Chen Gang wrote:
>> 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

^ 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).