git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'agp-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[pandora-kernel.git]
/
drivers
/
acpi
/
blacklist.c
diff --git
a/drivers/acpi/blacklist.c
b/drivers/acpi/blacklist.c
index
f6baa77
..
0c4ca4d
100644
(file)
--- a/
drivers/acpi/blacklist.c
+++ b/
drivers/acpi/blacklist.c
@@
-78,9
+78,10
@@
static struct acpi_blacklist_item acpi_blacklist[] __initdata = {
static int __init blacklist_by_year(void)
{
static int __init blacklist_by_year(void)
{
- int year = dmi_get_year(DMI_BIOS_DATE);
+ int year;
+
/* Doesn't exist? Likely an old system */
/* Doesn't exist? Likely an old system */
- if (
year == -1
) {
+ if (
!dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL)
) {
printk(KERN_ERR PREFIX "no DMI BIOS year, "
"acpi=force is required to enable ACPI\n" );
return 1;
printk(KERN_ERR PREFIX "no DMI BIOS year, "
"acpi=force is required to enable ACPI\n" );
return 1;