mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08:00
a2822e7f00
ISAPNP, PNPBIOS, and PNPACPI all had their own kmalloc wrappers that reimplemented kcalloc(). Remove the wrappers and just use kcalloc() directly. Note that this also removes the PNPBIOS error message when the kmalloc fails. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
13 lines
438 B
C
13 lines
438 B
C
#ifndef ACPI_PNP_H
|
|
#define ACPI_PNP_H
|
|
|
|
#include <acpi/acpi_bus.h>
|
|
#include <linux/acpi.h>
|
|
#include <linux/pnp.h>
|
|
|
|
acpi_status pnpacpi_parse_allocated_resource(acpi_handle, struct pnp_resource_table*);
|
|
acpi_status pnpacpi_parse_resource_option_data(acpi_handle, struct pnp_dev*);
|
|
int pnpacpi_encode_resources(struct pnp_resource_table *, struct acpi_buffer *);
|
|
int pnpacpi_build_resource_template(acpi_handle, struct acpi_buffer*);
|
|
#endif
|