Re: [PATCH] mmc: block: Use the mmc host device index as the mmcblk device index

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

 



On Mon, May 16, 2016 at 11:45 PM, Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
> On 16 May 2016 at 22:30, Laszlo Fiat <laszlo.fiat@xxxxxxxxx> wrote:
>> I ran into a problem with the kernel compilation using Adrian's patch:
>> ERROR: "acpi_device_fix_up_power" [drivers/mmc/host/sdhci-acpi.ko] undefined!
>> scripts/Makefile.modpost:91: recipe for target '__modpost' failed
>> make[1]: *** [__modpost] Error 1
>> Makefile:1142: recipe for target 'modules' failed
>> make: *** [modules] Error 2
>>
>> The acpi_device_fix_up_power routine is in drivers/acpi/device_pm.c,
>> but I don't know how can I make it to find it.
>>
>> Any help is appreciated.
>
> In drivers/acpi/device_pm.c, after the function implementation, add:
> EXPORT_SYMBOL_GPL(acpi_device_fix_up_power);
>
> Kind regards
> Uffe

 Hello,

The patch Adrian posted in this thread is working fine, my Teclast
X80h tablet finds all it's SD devices with it. You just have to add
the EXPORT_SYMBOL Uffe wrote above to be able to compile with the
patch.

Tested-by: Laszlo Fiat <laszlo.fiat@xxxxxxxxx>

Thank you for working on and fixing this problem.

Bye,

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



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux