arm: tegra: mcerr: fix build error
Seshendra Gadagottu [Wed, 2 Jan 2013 19:46:49 +0000 (11:46 -0800)]
Fix T148 build error related to mcerr.

Change-Id: I83f9302689b1612313d82e7bf8d475fdda3947e2
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/188066
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

arch/arm/mach-tegra/mcerr-t14.c

index 109830a..34d1eb9 100644 (file)
@@ -84,6 +84,8 @@ struct mc_client mc_clients[] = {
        client("disp_t"), /* 90 */      client("disp_d"),
 };
 
+int mc_client_last = ARRAY_SIZE(mc_clients) - 1;
+
 static const char *mcerr_t14x_info(u32 stat)
 {
        if (stat & MC_INT_DECERR_EMEM)