[PATCH 1/2] sound: oss: make the function argument as const

2017-10-13 Thread Bhumika Goyal
Make the function argument struct audio_driver *driver of the function sound_install_audiodrv as const as it's memory contents are only copied during a memcpy call. So, the fields of the structure to which driver points to never gets modified and therefore the argument can be made const. Add const

[PATCH 1/2] sound: oss: make the function argument as const

2017-10-13 Thread Bhumika Goyal
Make the function argument struct audio_driver *driver of the function sound_install_audiodrv as const as it's memory contents are only copied during a memcpy call. So, the fields of the structure to which driver points to never gets modified and therefore the argument can be made const. Add const