bus: ti-sysc: Fix build warning for 64-bit build
[linux-2.6-microblaze.git] / drivers / bus / ti-sysc.c
index 21fe985..e9bc389 100644 (file)
@@ -3104,7 +3104,7 @@ static int sysc_init_static_data(struct sysc *ddata)
 
        match = soc_device_match(sysc_soc_match);
        if (match && match->data)
-               sysc_soc->soc = (int)match->data;
+               sysc_soc->soc = (enum sysc_soc)match->data;
 
        /*
         * Check and warn about possible old incomplete dtb. We now want to see