|
@@ -1,4 +1,5 @@
|
|
#include <linux/device.h>
|
|
#include <linux/device.h>
|
|
|
|
+#include <linux/module.h>
|
|
#include <linux/regmap.h>
|
|
#include <linux/regmap.h>
|
|
|
|
|
|
#include "bmp280.h"
|
|
#include "bmp280.h"
|
|
@@ -37,6 +38,7 @@ const struct regmap_config bmp180_regmap_config = {
|
|
.writeable_reg = bmp180_is_writeable_reg,
|
|
.writeable_reg = bmp180_is_writeable_reg,
|
|
.volatile_reg = bmp180_is_volatile_reg,
|
|
.volatile_reg = bmp180_is_volatile_reg,
|
|
};
|
|
};
|
|
|
|
+EXPORT_SYMBOL(bmp180_regmap_config);
|
|
|
|
|
|
static bool bmp280_is_writeable_reg(struct device *dev, unsigned int reg)
|
|
static bool bmp280_is_writeable_reg(struct device *dev, unsigned int reg)
|
|
{
|
|
{
|
|
@@ -79,3 +81,4 @@ const struct regmap_config bmp280_regmap_config = {
|
|
.writeable_reg = bmp280_is_writeable_reg,
|
|
.writeable_reg = bmp280_is_writeable_reg,
|
|
.volatile_reg = bmp280_is_volatile_reg,
|
|
.volatile_reg = bmp280_is_volatile_reg,
|
|
};
|
|
};
|
|
|
|
+EXPORT_SYMBOL(bmp280_regmap_config);
|