Re: [PATCH] regmap: Fix missing prototype of devres_alloc() andfriends

From: Mark Brown
Date: Sun Mar 11 2012 - 08:49:05 EST


On Fri, Mar 09, 2012 at 03:30:00PM -0500, Paul Gortmaker wrote:
> [[PATCH] regmap: Fix missing prototype of devres_alloc() and friends] On 09/03/2012 (Fri 13:17) Stephen Warren wrote:

> > regmap.s uses devres_alloc() and others that are prototyped in device.h.
> > Include that to solve the following:

> Thanks, I've already taken care of this earlier today.

> http://marc.info/?l=linux-next&m=133130596327850&w=2

So, I was going to repeat my question to Stephen. But then I looked at
-next and found that someone had gone and randomly deleted the inclusion
of device.h without ever telling me, looking the git logs I see that
this was done in commit 3a55cc ("device.h: audit and cleanup users in
main include dir" - notice what I'm doing here and including the human
readable subject line and not just the git hash) which comes from you.

In order to avoid breaking bisection I've applied Stephen's fix.

Attachment: signature.asc
Description: Digital signature