[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <5373B394.50709@gmail.com>
Date: Wed, 14 May 2014 23:49:00 +0530
From: RAGHAVENDRA GANIGA <ravi23ganiga@...il.com>
To: broonie@...nel.org, linux-kernel@...r.kernel.org
Subject: query regarding the regmap spi support
I have written support for rtc ds1343 which uses
spi interface through regmap spi and uses the
following api
devm_regmap_init_spi(spi, &config);
during compilation following error occurs
drivers/built-in.o: In function `ds1343_probe':
>> rtc-ds1343.c:(.text+0x1baf8f): undefined reference to `devm_regmap_init_spi'
in the .config file following are the regmap support defined
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=m
CONFIG_REGMAP_SPI=m
CONFIG_REGMAP_MMIO=y
CONFIG_REGMAP_IRQ=y
the CONFIG_REGMAP is declared even then the error in compilation
occurs. i have also attached the config file
View attachment "config.txt" of type "text/plain" (83250 bytes)
Powered by blists - more mailing lists