[PATCH] export m8xx_cpm_hostalloc

Tom Rini trini at kernel.crashing.org
Sat Jul 24 00:02:31 EST 2004

On Fri, Jul 23, 2004 at 03:49:27PM +0200, Andreas Oberritter wrote:

> Hi Tom,
> to build an i2c driver as a module, m8xx_cpm_hostalloc must be exported.
> We are using a driver which is not in the kernel tree[1]. I tried to
> merge the in-kernel i2c driver with it, but I failed and don't have the
> time to investigate why our driver works with the dbox2 board and the
> in-kernel driver doesn't.
> This function has been exported in 2.4. Is it ok to do that for 2.6,
> too?

Must the driver use hostalloc?  I didn't think that i2c was called so
early that kmalloc/bootmem_alloc() (or so) couldn't be used.

Tom Rini

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-embedded mailing list