Subject: Re: [PATCH] ppc: Marvell mv64x60 drivers for ppc platforms fix

From: Yuri Tikhonov <[email-masked]>
Date: Mon, 25 Jun 2007 13:51:55 +0400

Hi Segher,

 The mv64x60 driver has no support for compiling as a module. Built-in only. 
And I think there is no much sense in making the driver which provide you 
with such a base stuff as a boot console, ethernet, etc. to be a LKM.

 Regards, Yuri.

On Monday 25 June 2007 13:11, you wrote:
> > +mv64x60-$(CONFIG_PCI)          += mv64x60_pci.o
> > +obj-$(CONFIG_MV64X60)          += $(mv64x60-y) mv64x60_pic.o
> > mv64x60_dev.o
>
> How about
>
> mv64x60-pci-$(CONFIG_PCI)      += mv64x60_pci.o
> mv64x60-objs                   := $(mv64x60-pci-y) mv64x60_pic.o
> mv64x60_dev.o
> obj-$(CONFIG_MV64X60)          += mv64x60.o
>
> so you can build it is a module, too (although other things
> might be preventing that right now)?
>
>
> Segher