Re: [PATCH 09/11] ahci: Move generic code into libahci

Anton Vorontsov
2010-03-03T17:45:26Z

On Wed, Mar 03, 2010 at 08:33:47PM +0300, Sergei Shtylyov wrote:
[...]
> >diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile
> >index b7d4923..75e3abd 100644
> >--- a/drivers/ata/Makefile
> >+++ b/drivers/ata/Makefile
> >@@ -1,7 +1,7 @@
> > obj-$(CONFIG_ATA) += libata.o
> >-obj-$(CONFIG_SATA_AHCI) += ahci.o
> >+obj-$(CONFIG_SATA_AHCI) += libahci.o ahci.o
>
> This means 2 different modules: libahci.ko and ahci.ko.

Right you are. And we can't do ahci-objs += libahci.o ahci.o,
since that would be a circular dependency. Oh well, I'll merge
09 and 10 patches.

Thanks!

--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2