util/ra: spiff out select_reg_callback
[mesa.git] / src / broadcom / compiler / vir_register_allocate.c
index 623cc22cefad74390ce88a9284ae52dad50d059e..d88a8df1141d6f7622c8a421f068eac981750f9b 100644 (file)
@@ -309,7 +309,7 @@ struct v3d_ra_select_callback_data {
 };
 
 static unsigned int
-v3d_ra_select_callback(struct ra_graph *g, BITSET_WORD *regs, void *data)
+v3d_ra_select_callback(unsigned int n, BITSET_WORD *regs, void *data)
 {
         struct v3d_ra_select_callback_data *v3d_ra = data;
         int r5 = ACC_INDEX + 5;