[PATCH v5 08/10] wii: add mem2 dma mapping ops

Albert Herranz albert_herranz at yahoo.es
Sat Mar 20 11:59:19 EST 2010


Konrad Rzeszutek Wilk wrote:
>> +int wii_set_mem2_dma_constraints(struct device *dev)
>> +{
>> +	struct dev_archdata *sd;
>> +
>> +	sd = &dev->archdata;
>> +	sd->max_direct_dma_addr = 0;
>> +	sd->min_direct_dma_addr = wii_hole_start + wii_hole_size;
>> +
>> +	set_dma_ops(dev, &wii_mem2_dma_ops);
>> +	return 0;
>> +}
>> +EXPORT_SYMBOL(wii_set_mem2_dma_constraints);
> 
> Can you make them EXPORT_SYMBOL_GPL?

Sure. I don't know why I didn't use the *_GPL flavour on first place.

Thanks,
Albert



More information about the Linuxppc-dev mailing list