From: Thomas Abraham Date: Mon, 24 Oct 2011 09:47:25 +0000 (+0200) Subject: serial: samsung: Keep a copy of the location of platform data in driver's private... X-Git-Tag: v3.3-rc1~143^2~1^2^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d84e970d0faec772a9eaa818feee38aeca121b2;p=pandora-kernel.git 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 Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed