[modesetting-101] update mode count after fill_modes.
authorMaarten Maathuis <madman2003@gmail.com>
Mon, 23 Jun 2008 20:59:17 +0000 (22:59 +0200)
committerMaarten Maathuis <madman2003@gmail.com>
Mon, 23 Jun 2008 20:59:17 +0000 (22:59 +0200)
commit246b41fea462a3b1669c0e3f9fe7f6077a479832
treecc3e47873db2b3be7b4636c55510d590975ac228
parentf9dad8cc22994e0e4671d14b3ee721e4b5777a68
[modesetting-101] update mode count after fill_modes.

- This avoids returning with a mode count of 0, thus not allocating space for the 2nd ioctl.
linux-core/drm_crtc.c