OSDN Git Service

power: reset: fix compilation errors when dload disabled.
authorLingutla Chandrasekhar <clingutla@codeaurora.org>
Thu, 12 Jan 2017 04:54:16 +0000 (10:24 +0530)
committerLingutla Chandrasekhar <clingutla@codeaurora.org>
Thu, 12 Jan 2017 09:55:45 +0000 (15:25 +0530)
commit4d5af6434692e2f878c0079528ecb0a226b1fa64
tree9287d1ec1ee73a3bf4fc979a4db00d7783be9f18
parent2dc96b1cbbdcf5aef3780696708012d55fec57f2
power: reset: fix compilation errors when dload disabled.

If download mode disabled, msm-poweroff driver compilation will
throw errors.
Fix them by moving download mode support under the flag.

Change-Id: I7a3f946d72cb4e500e3e762e4a6a5f2c8b90cb8c
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
drivers/power/reset/msm-poweroff.c