linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
To: Chen Gang <gang.chen@asianux.com>,
	srinivas.pandruvada@linux.intel.com,
	jacob.jun.pan@linux.intel.com,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Cc: Greg KH <gregkh@linuxfoundation.org>
Subject: Re: [Suggestion] drivers: powercap: 'dev_attrs' has already removed from 'struct class'
Date: Thu, 31 Oct 2013 17:25:05 +0100	[thread overview]
Message-ID: <52728461.2080901@intel.com> (raw)
In-Reply-To: <5271BDFD.2050205@asianux.com>

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

  reply	other threads:[~2013-10-31 16:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-11-01  1:28   ` Chen Gang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52728461.2080901@intel.com \
    --to=rafael.j.wysocki@intel.com \
    --cc=gang.chen@asianux.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jacob.jun.pan@linux.intel.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=srinivas.pandruvada@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).