Diff for /src/sys/dev/acpica/Attic/acpi_battery.c between versions 1.1 and 1.2

version 1.1, 2003/09/24 03:32:16 version 1.2, 2004/05/05 22:19:22
Line 247  acpi_battery_register(int type, int phys Line 247  acpi_battery_register(int type, int phys
         struct acpi_batteries   *bp;          struct acpi_batteries   *bp;
   
         error = 0;          error = 0;
        if ((bp = malloc(sizeof(*bp), M_ACPIBATT, M_NOWAIT)) == NULL) {        bp = malloc(sizeof(*bp), M_ACPIBATT, M_INTWAIT);
                return(ENOMEM); 
        } 
 
         bp->battdesc.type = type;          bp->battdesc.type = type;
         bp->battdesc.phys_unit = phys_unit;          bp->battdesc.phys_unit = phys_unit;
         if (acpi_batteries_initted == 0) {          if (acpi_batteries_initted == 0) {

Removed from v.1.1  
changed lines
  Added in v.1.2