aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-omap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 3f7726a43125..61d2e5ad6d6c 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -154,7 +154,7 @@ static inline u16 omap_i2c_read_reg(struct omap_i2c_dev *i2c_dev, int reg)
154 return __raw_readw(i2c_dev->base + reg); 154 return __raw_readw(i2c_dev->base + reg);
155} 155}
156 156
157static int omap_i2c_get_clocks(struct omap_i2c_dev *dev) 157static int __init omap_i2c_get_clocks(struct omap_i2c_dev *dev)
158{ 158{
159 if (cpu_is_omap16xx() || cpu_class_is_omap2()) { 159 if (cpu_is_omap16xx() || cpu_class_is_omap2()) {
160 dev->iclk = clk_get(dev->dev, "i2c_ick"); 160 dev->iclk = clk_get(dev->dev, "i2c_ick");
@@ -689,7 +689,7 @@ static const struct i2c_algorithm omap_i2c_algo = {
689 .functionality = omap_i2c_func, 689 .functionality = omap_i2c_func,
690}; 690};
691 691
692static int 692static int __init
693omap_i2c_probe(struct platform_device *pdev) 693omap_i2c_probe(struct platform_device *pdev)
694{ 694{
695 struct omap_i2c_dev *dev; 695 struct omap_i2c_dev *dev;