aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorHunt Xu <[email protected]>2012-07-01 03:45:07 +0000
committerDaniel Vetter <[email protected]>2012-08-06 19:31:33 +0200
commit5ab3633d6907018b0b830a720e877c3884d679c3 (patch)
tree0130174f69dde88a67d6e17dee36fff02d96c2f1 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentbcf9dcc1e6269fac674e41f25d007ff75f76e840 (diff)
drm/i915: make rc6 in sysfs functions conditional
Commit 0136db586c028f71e7cc21cc183064ff0d5919c8 merges rc6 information into the power group. However, when compiled with CONFIG_PM not set, modprobing i915 would taint since power_group_name is defined as NULL. This patch makes these rc6 in sysfs functions conditional upon the definition of the CONFIG_PM macro to avoid the above-mentioned problem. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=45181 Cc: [email protected] Tested-by: Kris Karas <[email protected]> Signed-off-by: Hunt Xu <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions