···11461146 if (ACPI_FAILURE(status))11471147 printk(KERN_WARNING " Couldn't get the DSDT table header\n");11481148 else11491149- asus_info = (struct acpi_table_header *)dsdt.pointer;11491149+ asus_info = dsdt.pointer;1150115011511151 /* We have to write 0 on init this far for all ASUS models */11521152 if (!write_acpi_int(hotk->handle, "INIT", 0, &buffer)) {···11681168 * asus_model_match() and try something completely different.11691169 */11701170 if (buffer.pointer) {11711171- model = (union acpi_object *)buffer.pointer;11711171+ model = buffer.pointer;11721172 switch (model->type) {11731173 case ACPI_TYPE_STRING:11741174 string = model->string.pointer;···12641264 printk(KERN_NOTICE "Asus Laptop ACPI Extras version %s\n",12651265 ASUS_ACPI_VERSION);1266126612671267- hotk =12681268- (struct asus_hotk *)kmalloc(sizeof(struct asus_hotk), GFP_KERNEL);12671267+ hotk = kmalloc(sizeof(struct asus_hotk), GFP_KERNEL);12691268 if (!hotk)12701269 return -ENOMEM;12711270 memset(hotk, 0, sizeof(struct asus_hotk));