amd64_edac: Cleanup return type of amd64_determine_edac_cap()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Oct 2011 06:30:25 +0000 (02:30 -0400)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 6 Oct 2011 10:35:46 +0000 (12:35 +0200)
commit1f6189ed18cbd99d90bffdbc76c3adc54418b2fd
tree0595e13ce1dbccee16361622d1c071575eacd57d
parent73ba85937b2a07b6401ba0b7ca06a112762de9f7
amd64_edac: Cleanup return type of amd64_determine_edac_cap()

Sparse complains that edac_cap was declared as dev_type and we are
returning edac_type.  Historically, edac_type was correct but since
then we have changed it to return a bit field.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://lkml.kernel.org/r/20111006063025.GA2615@mwanda
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c