ACPICA: Add const qualifier for appropriate string constants
Mostly MODULE_NAME and printf format strings. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
This commit is contained in:
@ -309,7 +309,8 @@ acpi_ut_initialize_buffer(struct acpi_buffer * buffer,
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
void *acpi_ut_allocate(acpi_size size, u32 component, char *module, u32 line)
|
||||
void *acpi_ut_allocate(acpi_size size,
|
||||
u32 component, const char *module, u32 line)
|
||||
{
|
||||
void *allocation;
|
||||
|
||||
@ -353,7 +354,7 @@ void *acpi_ut_allocate(acpi_size size, u32 component, char *module, u32 line)
|
||||
******************************************************************************/
|
||||
|
||||
void *acpi_ut_allocate_zeroed(acpi_size size,
|
||||
u32 component, char *module, u32 line)
|
||||
u32 component, const char *module, u32 line)
|
||||
{
|
||||
void *allocation;
|
||||
|
||||
|
Reference in New Issue
Block a user