RE: [Bug 6537] New: #ifdef CONFIG_PM causes MPT to not compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, May 12, 2006 10:46 AM, Alexey Dobriyan wrote:  

> This patch fixes your anonymous compilation problems?
> 
> [PATCH] mptspi: fix compilation with CONFIG_PM=n
> 
> Signed-off-by: Alexey Dobriyan <[email protected]>
> 
> --- a/drivers/message/fusion/mptspi.c
> +++ b/drivers/message/fusion/mptspi.c
> @@ -831,6 +831,7 @@ mptspi_ioc_reset(MPT_ADAPTER *ioc, int r
>  	return rc;
>  }
>  
> +#ifdef CONFIG_PM
>  /*
>   * spi module resume handler
>   */
> @@ -846,6 +847,7 @@ mptspi_resume(struct pci_dev *pdev)
>  
>  	return rc;
>  }
> +#endif
>  

ACK

Alex, thanks.  Can you post this patch over on the linux-scsi@ list, and
copy James Bottomley?   

Thankyou,
Eric Moore
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux