diff options
-rw-r--r-- | src/i830_tv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c index 940250e5..678d5103 100644 --- a/src/i830_tv.c +++ b/src/i830_tv.c @@ -1451,6 +1451,9 @@ i830_tv_get_modes(xf86OutputPtr output) mode_ptr->type = M_T_DRIVER; mode_ptr->next = ret; + mode_ptr->prev = NULL; + if (ret != NULL) + reg->prev = mode_ptr; ret = mode_ptr; } |