Re: [PATCH -next] staging: fix mei build when PM is not enabled

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

 



On Thu, May 19, 2011 at 6:52 PM, Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Fix mei build when CONFIG_PM is not enabled (i.e., fix typo):
>
> drivers/staging/mei/main.c:1159: error: 'MEI_PM_OPS' undeclared here (not in a function)
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> ---
> Âdrivers/staging/mei/main.c | Â Â2 +-
> Â1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20110519.orig/drivers/staging/mei/main.c
> +++ linux-next-20110519/drivers/staging/mei/main.c
> @@ -1145,7 +1145,7 @@ static int mei_pci_resume(struct device
> Âstatic SIMPLE_DEV_PM_OPS(mei_pm_ops, mei_pci_suspend, mei_pci_resume);
> Â#define MEI_PM_OPS Â Â (&mei_pm_ops)
> Â#else
> -#define MIE_PM_OPS Â Â NULL
> +#define MEI_PM_OPS Â Â NULL
> Â#endif /* CONFIG_PM */
> Â/*
> Â* ÂPCI driver structure

Thanks for catching this
Ack
Tomas
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux