ppc4xx_edac: Fix build error caused by wrong member access
authorPranith Kumar <bobby.prani@gmail.com>
Tue, 19 Aug 2014 21:10:46 +0000 (17:10 -0400)
committerBorislav Petkov <bp@suse.de>
Mon, 15 Sep 2014 12:20:56 +0000 (14:20 +0200)
commit2d34056d27687180c0bab7dc40957a40d7ce0140
treeb7d34e6d5ae7c525699f68a859a35bc145824bbd
parentf4ce6eca71d15b8e12a33ac8e1ef733a83944d2e
ppc4xx_edac: Fix build error caused by wrong member access

Fix the following error

drivers/edac/ppc4xx_edac.c:977:45: error: request for member 'dimm' in something
not a structure or union

by changing member access to pointer dereference.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Link: http://lkml.kernel.org/r/1408482646-22541-1-git-send-email-bobby.prani@gmail.com
CC: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/ppc4xx_edac.c