From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH RFC] I2C : OMAP : make omap_i2c_unidle/idle functions depend on CONFIG_PM_RUNTIME Date: Wed, 11 Jan 2012 14:16:10 -0800 Message-ID: <877h0x3mxh.fsf@ti.com> References: <1326270657-15309-1-git-send-email-shubhrajyoti@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <1326270657-15309-1-git-send-email-shubhrajyoti@ti.com> (Shubhrajyoti D.'s message of "Wed, 11 Jan 2012 14:00:57 +0530") Sender: linux-omap-owner@vger.kernel.org To: Shubhrajyoti D Cc: linux-i2c@vger.kernel.org, linux-omap@vger.kernel.org, ben-linux@fluff.org List-Id: linux-i2c@vger.kernel.org Shubhrajyoti D writes: > The functions omap_i2c_unidle/idle are called from omap_i2c_runtime_resume > and omap_i2c_runtime_suspend which is compiled for CONFIG_PM_RUNTIME. > Make the omap_i2c_unidle/idle also depend on CONFIG_PM_RUNTIME flag. I probably should've done this when I initially cleaned up the callbacks, but since you're doing it... rather than move the functions within the file, just remove the functions and move the code into the runtime callbacks. Kevin