new helper to create platform devices with dma mask
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 25 Aug 2011 09:16:00 +0000 (11:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 18:31:09 +0000 (11:31 -0700)
compared to the most powerful and already existing helper (namely
platform_device_register_resndata) this allows to specify a dma_mask.
To make eventual extensions later more easy, a struct holding the used
information is created instead of passing the information by function
parameters.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found