On Mon, 16 Feb 2009 18:40:12 +0200 Aaro Koskinen <aaro.koskinen@xxxxxxxxx> wrote: > Taking example from fs/Makefile (nfsd): > > -obj-$(CONFIG_I2C_OMAP) += i2c.o > +i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o > +obj-y += $(i2c-omap-m) $(i2c-omap-y) > This is getting shorter and shorter :-) > Also arch/arm/plat-omap/include/mach/common.h should be updated to > check for CONFIG_I2C_OMAP_MODULE. > Good catch, that's true! Jarkko -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html