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

From: Mark Brown
Date: Sun Mar 11 2012 - 08:00:43 EST


On Fri, Mar 09, 2012 at 01:17:28PM -0700, Stephen Warren wrote:
> regmap.s uses devres_alloc() and others that are prototyped in device.h.
> Include that to solve the following:
>
> drivers/base/regmap/regmap.c: In function 'devm_regmap_init':

Hrm, what I want to know here is how you're managing to build this file
without including regmap.h which includes device.h.

Attachment: signature.asc
Description: Digital signature