OSDN Git Service

ARM: shmobile: r8a7791: Don't define SCIF platform data in an array
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 6 Dec 2013 09:59:29 +0000 (10:59 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 24 Dec 2013 12:09:10 +0000 (21:09 +0900)
commit135d0e602a2f2700bcbde8315000e21cbdc4208e
treea211b89c6973ab41dcb94826d2b1fa9b22270365
parentecbcd715f098bf4b870ae5bd0f9b572987b3b219
ARM: shmobile: r8a7791: Don't define SCIF platform data in an array

The SCIF driver is transitioning to platform resources. Board code will
thus need to define an array of resources for each SCIF device. This is
incompatible with the macro-based SCIF platform data definition as an
array. Rework the macro to define platform data as individual
structures.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7791.c