[Bug 6537] New: #ifdef CONFIG_PM causes MPT to not compile

From: Martin J. Bligh
Date: Fri May 12 2006 - 10:58:35 EST



http://bugzilla.kernel.org/show_bug.cgi?id=6537

Summary: #ifdef CONFIG_PM causes MPT to not compile
Kernel Version: 2.6.17-rc4
Status: NEW
Severity: blocking
Owner: io_other@xxxxxxxxxxxxxxxxxxxx
Submitter: bill@xxxxxxxxxxxxxxxxxx


Most recent kernel where this bug did not occur: 2.6.17-rc3
Distribution: slack
Hardware Environment: i386
Software Environment: gcc 3.3
Problem Description: /drivers/message/fusion/mpt* using #ifdef CONFIG_PM are not
exporting the mpt_suspend mpt_resume. I do not know why we would want to
exercise power management on high-performance scsi controllers in the first
place. LSI controllers are server devices.

Steps to reproduce: compile the kernel. causes a kernel compilation failure.

Steps to fix:
comment out the #ifdef CONFIG_pm and corresponding #endif to disable this
compilation flag. recompile and the world is happy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/