Re: [RFC v2 1/3] Mailbox: Add support for ACPI

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

 



On Thursday 12 June 2014 12:48:10 Ashwin Chaugule wrote:
> 
> +#ifndef CONFIG_ACPI
>         if (!mbox->of_xlate)
>                 mbox->of_xlate = of_mbox_index_xlate;
> -
> +#endif
>         mutex_lock(&con_mutex);
>         list_add_tail(&mbox->node, &mbox_cons);
>         mutex_unlock(&con_mutex);
> 

You can't do #ifndef here, the driver must still work if
both OF and ACPI are enabled.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux