]> git.baikalelectronics.ru Git - kernel.git/commit
at86rf230: copy pdata to driver allocated space
authorAlexander Aring <alex.aring@gmail.com>
Fri, 27 Feb 2015 08:58:25 +0000 (09:58 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2015 17:42:43 +0000 (18:42 +0100)
commit916cbb86bc44295f24d529510dc8bc71a46901d3
treed6b2c8e76cecd6fc428f90b9cae44853a4b55fe7
parent16a59be80b0c3a23bbf8660d4b2a640e4e1ee4a4
at86rf230: copy pdata to driver allocated space

This patch copies the platform data in driver allocated space at first.
With this change we ensure that we access the allocated platform data as
readonly space.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reported-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c