diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2011-10-24 11:47:25 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-12-23 10:06:54 +0900 |
commit | 4d84e970d0faec772a9eaa818feee38aeca121b2 (patch) | |
tree | 40ae3a08e363625388ca0fa39591fb590b374bee /arch/arm/mach-s3c2440 | |
parent | 659d73ada5d6869dc18838c9125731a750389019 (diff) |
serial: samsung: Keep a copy of the location of platform data in driver's private data
Add a pointer to the location of the platform data in the driver's private
data. When instantiated using device tree, pdev->dev->platform_data does not
necessarily point to a valid instance of platform data. The platform data
pointer in the driver's private data could be set to pdev->dev->platform_data
or platform data instance created from device tree.
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2440')
0 files changed, 0 insertions, 0 deletions