Merge pull request #1451 from lioncash/const SI_Device: Make GetDeviceNumber and GetDeviceType const.