]> 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)
commitf9f8ff526c6d72c630e12af654644aaf208e4a78
treed6b2c8e76cecd6fc428f90b9cae44853a4b55fe7
parent38a55b398a45b0130db3a8b9ee93bd90ee8f9546
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