Skip to content

Commit

Permalink
[ARM] Add PM_LEGACY defaults
Browse files Browse the repository at this point in the history
Eliminate two warnings:

kernel/power/pm.c:205: warning: 'pm_register' is deprecated (declared at kernel/power/pm.c:64)
kernel/power/pm.c:206: warning: 'pm_send_all' is deprecated (declared at kernel/power/pm.c:180)

by updating defconfig files to contain a sensible PM_LEGACY default.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 26, 2006
1 parent 5d48545 commit d00ec45
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/configs/assabet_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ CONFIG_BINFMT_ELF=y
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_APM is not set

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/cerfcube_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ CONFIG_BINFMT_ELF=y
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_APM is not set

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/corgi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ CONFIG_BINFMT_MISC=m
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
CONFIG_APM=y

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/h3600_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ CONFIG_BINFMT_ELF=y
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_APM is not set

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/integrator_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ CONFIG_BINFMT_ELF=y
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_APM is not set

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/jornada720_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ CONFIG_BINFMT_AOUT=m
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_APM is not set

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/lart_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ CONFIG_BINFMT_AOUT=y
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
CONFIG_APM=m

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/neponset_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ CONFIG_BINFMT_AOUT=y
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
CONFIG_APM=y

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/simpad_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ CONFIG_BINFMT_MISC=m
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
CONFIG_APM=y

#
Expand Down
1 change: 1 addition & 0 deletions arch/arm/configs/spitz_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ CONFIG_BINFMT_MISC=m
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
CONFIG_APM=y

#
Expand Down

0 comments on commit d00ec45

Please sign in to comment.