[PATCH 2/2] hpet: hpet_check: make func args const where possible
Alex Hung
alex.hung at canonical.com
Tue Mar 6 08:56:53 UTC 2012
On 03/02/2012 07:28 PM, Colin King wrote:
> From: Colin Ian King<colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king at canonical.com>
> ---
> src/hpet/hpet_check/hpet_check.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/hpet/hpet_check/hpet_check.c b/src/hpet/hpet_check/hpet_check.c
> index 79dfae9..b999c99 100644
> --- a/src/hpet/hpet_check/hpet_check.c
> +++ b/src/hpet/hpet_check/hpet_check.c
> @@ -56,7 +56,7 @@ static void check_hpet_base_hpet(void)
> #endif
>
> static void hpet_parse_check_base(fwts_framework *fw,
> - char *table, fwts_list_link *item)
> + const char *table, fwts_list_link *item)
> {
> char *val, *idx;
>
> @@ -88,7 +88,7 @@ static void hpet_parse_check_base(fwts_framework *fw,
> }
>
> static void hpet_parse_device_hpet(fwts_framework *fw,
> - char *table, fwts_list_link *item)
> + const char *table, fwts_list_link *item)
> {
> for (;item != NULL; item = item->next) {
> char *str = fwts_text_list_text(item);
> @@ -126,7 +126,7 @@ static void hpet_parse_device_hpet(fwts_framework *fw,
> * used to parse the DSDT for HPET base info
> */
> static void hpet_check_base_acpi_table(fwts_framework *fw,
> - char *table, int which)
> + const char *table, const int which)
> {
> fwts_list *output;
> fwts_list_link *item;
Acked-by: Alex Hung<alex.hung at canonical.com>
More information about the fwts-devel
mailing list