Re: [PATCH] regmap: Fix regmap compilation with CONFIG_DEBUGFS=n

From: Mark Brown
Date: Mon Sep 05 2011 - 15:43:17 EST


On Mon, Sep 05, 2011 at 09:29:38PM +0200, Lars-Peter Clausen wrote:
> With CONFIG_DEBUGFS disabled the regmap compilation fails with the following
> errors:

> drivers/base/regmap/regcache.o: In function `regmap_debugfs_initcall':
> drivers/base/regmap/internal.h:96: multiple definition of `regmap_debugfs_initcall'
> drivers/base/regmap/regmap.o:drivers/base/regmap/internal.h:96: first defined here
> drivers/base/regmap/regcache.o: In function `regmap_debugfs_init':

I sense that this doesn't actually happen in mainline...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/