hash_sole_work can be static
Merge branch 'usb-dev' of github.com:ckolivas/cgminer into usb-dev