Menu

Commit [r1793]  Maximize  Restore  History

Update module use counting to whatever is used in 2.5.x. This is done quite evilly, I'm using an #if .. #else .. #endif everywhere. I'm doing this on purpose, because apart from the actual deprecation of MOD_INC/DEC_USE_COUNT in 2.5.x, there's also a lot of other cruft removed/entered that directly has to do with this, such as the removal of ->inc/dec_use in i2c_driver (i2c clients), and the introduction of a new struct member, ->owner. In most cases, I'm just substituting MOD_INC/DEC_USE_COUNT with try_module_get/module_put. This isn't actually tested, I just know it works. If it doesn't... Erm... Blame Hussein!

rbultje 2003-03-26

changed /branches/ZORAN_VIDEODEV_2/driver-zoran/Makefile
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/adv7170.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/adv7175.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/bt819.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/bt856.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/saa7110.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/saa7111.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/saa7114.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/saa7185.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/videocodec.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/vpx3220.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/zoran_card.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/zoran_driver.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/zr36016.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/zr36050.c
changed /branches/ZORAN_VIDEODEV_2/driver-zoran/zr36060.c
/branches/ZORAN_VIDEODEV_2/driver-zoran/Makefile Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/adv7170.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/adv7175.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/bt819.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/bt856.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/saa7110.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/saa7111.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/saa7114.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/saa7185.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/videocodec.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/vpx3220.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/zoran_card.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/zoran_driver.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/zr36016.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/zr36050.c Diff Switch to side-by-side view
Loading...
/branches/ZORAN_VIDEODEV_2/driver-zoran/zr36060.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.