Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
watchdog: Fix null pointer dereference while accessing rdc321x platfo…
…rm_data commit 3b3c1f2 upstream. rdc321x-wdt currently fetches its driver specific data by using the platform_device->platform_data pointer, this is wrong because the mfd device which registers our platform_device has been added using mfd_add_device() which sets the platform_device->driver_data pointer instead. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andi Kleen <ak@linux.intel.com>
- Loading branch information