All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Lee Jones <lee@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP
Date: Fri, 02 Oct 2015 15:21:53 +0300	[thread overview]
Message-ID: <1443788513.8361.333.camel@linux.intel.com> (raw)
In-Reply-To: <20151001144539.GA3214@x1>

On Thu, 2015-10-01 at 15:45 +0100, Lee Jones wrote:
> On Thu, 01 Oct 2015, Andy Shevchenko wrote:
> 
> > Jim Davis reported the compilation error with a random 
> > configuration which
> > apparently has CONFIG_PM=y and CONFIG_PM_SLEEP=n. With that 
> > conditions we have
> > missed definition of INTEL_LPSS_SLEEP_PM_OPS macro. Add it here.
> > 
> > Reported-by: Jim Davis <jim.epost@gmail.com>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> >  drivers/mfd/intel-lpss.h | 2 ++
> >  1 file changed, 2 insertions(+)
> 
> Why are you using this email address?

In fact it *had* the proper address [1] and after you confused me [2].

[1] http://www.spinics.net/lists/kernel/msg2073973.html
[2] http://www.spinics.net/lists/linux-fsdevel/msg90269.html

> 
> Please use ./get_maintainer.pl properly.
> 
> > diff --git a/drivers/mfd/intel-lpss.h b/drivers/mfd/intel-lpss.h
> > index f28cb28a..2c7f8d7 100644
> > --- a/drivers/mfd/intel-lpss.h
> > +++ b/drivers/mfd/intel-lpss.h
> > @@ -42,6 +42,8 @@ int intel_lpss_resume(struct device *dev);
> >  	.thaw = intel_lpss_resume,		\
> >  	.poweroff = intel_lpss_suspend,		\
> >  	.restore = intel_lpss_resume,
> > +#else
> > +#define INTEL_LPSS_SLEEP_PM_OPS
> >  #endif
> >  
> >  #define INTEL_LPSS_RUNTIME_PM_OPS		\

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

  reply	other threads:[~2015-10-02 12:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 13:06 [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP Andy Shevchenko
2015-10-01 14:45 ` Lee Jones
2015-10-02 12:21   ` Andy Shevchenko [this message]
2015-10-05  8:28     ` Lee Jones
2015-10-05  8:52       ` Andy Shevchenko
  -- strict thread matches above, loose matches on Subject: below --
2015-07-30 10:46 Andy Shevchenko

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=1443788513.8361.333.camel@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.