Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: tcallawa@redhat.com
Cc: linux-scsi@vger.kernel.org, sparclinux@vger.kernel.org
Subject: Re: [PATCH] Build mptspi.c on architectures where CONFIG_PM is unset
Date: Fri, 09 Jun 2006 17:00:53 -0700 (PDT)	[thread overview]
Message-ID: <20060609.170053.107254117.davem@davemloft.net> (raw)
In-Reply-To: <1149345407.14611.49.camel@localhost.localdomain>

From: "Tom 'spot' Callaway" <tcallawa@redhat.com>
Date: Sat, 03 Jun 2006 09:36:47 -0500

> sparc64 does not have CONFIG_PM defined, and mptscsih_resume is wrapped
> in an #ifdef CONFIG_PM in mptscsih.h. mptscsih_resume is only used in
> the mptspi_resume function in mptspi.c, and its only call is in the
> pci_driver struct (and that call is also #ifdef CONFIG_PM). In order to
> get the code to compile, I just needed to wrap the actual function in
> #ifdef CONFIG_PM, which is what this patch does. I can confirm that it
> gets the module building again without errors.
> 
> Signed-off-by: Tom "spot" Callaway <tcallawa@redhat.com>

Thanks Tom I'll apply this.

  reply	other threads:[~2006-06-10  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-03 14:36 [PATCH] Build mptspi.c on architectures where CONFIG_PM is unset Tom 'spot' Callaway
2006-06-10  0:00 ` David Miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-14 23:16 Moore, Eric
2006-06-14 23:47 ` David Miller

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=20060609.170053.107254117.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=tcallawa@redhat.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