beagleboard / am335x_pru_package

332 stars 181 forks source link

prussdrv: mark const parameters #10

Closed fhunleth closed 10 years ago

fhunleth commented 10 years ago

This lets users of the library pass const variables to input arguments of functions and not get compiler warnings.

Signed-off-by: Frank Hunleth fhunleth@troodon-software.com

olsonse commented 10 years ago

Should also do this to the parameter of: prussdrv_pruintc_init prussdrv_get_phys_addr

fhunleth commented 10 years ago

Good point. Updated patch.