Subject: [PATCH] [acpi driver model] Add err() helper for reporting errors. Signed-off-by: Patrick Mochel --- drivers/acpi/drivers/core/core.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) applies-to: 365221cff9a8810a575ca35c539733c71388bcb9 dc20654f7f3429e9fd34a4b7149bd67294613e97 diff --git a/drivers/acpi/drivers/core/core.h b/drivers/acpi/drivers/core/core.h index 6376822..3d9067b 100644 --- a/drivers/acpi/drivers/core/core.h +++ b/drivers/acpi/drivers/core/core.h @@ -6,6 +6,8 @@ #define dbg(fmt, ...) #endif +#define err(fmt, ...) printk(KERN_ERR PREFIX "core: " fmt "\n", ## __VA_ARGS__) + static inline struct acpi_dev * to_acpi_dev(struct device * d) { return d ? container_of(d, struct acpi_dev, dev) : NULL; --- 0.99.9.GIT