Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4db16db4 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB (8394): ir-common: CodingStyle fix: move EXPORT_SYMBOL_GPL to their proper places

parent 432aa3b6
Loading
Loading
Loading
Loading
+8 −17
Original line number Original line Diff line number Diff line
@@ -77,6 +77,7 @@ void ir_input_init(struct input_dev *dev, struct ir_input_state *ir,
	if (repeat)
	if (repeat)
		set_bit(EV_REP, dev->evbit);
		set_bit(EV_REP, dev->evbit);
}
}
EXPORT_SYMBOL_GPL(ir_input_init);


void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir)
void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir)
{
{
@@ -85,6 +86,7 @@ void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir)
		ir_input_key_event(dev,ir);
		ir_input_key_event(dev,ir);
	}
	}
}
}
EXPORT_SYMBOL_GPL(ir_input_nokey);


void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir,
void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir,
		      u32 ir_key, u32 ir_raw)
		      u32 ir_key, u32 ir_raw)
@@ -103,6 +105,7 @@ void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir,
		ir_input_key_event(dev,ir);
		ir_input_key_event(dev,ir);
	}
	}
}
}
EXPORT_SYMBOL_GPL(ir_input_keydown);


/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* extract mask bits out of data and pack them into the result */
/* extract mask bits out of data and pack them into the result */
@@ -121,6 +124,7 @@ u32 ir_extract_bits(u32 data, u32 mask)


	return value;
	return value;
}
}
EXPORT_SYMBOL_GPL(ir_extract_bits);


static int inline getbit(u32 *samples, int bit)
static int inline getbit(u32 *samples, int bit)
{
{
@@ -145,6 +149,7 @@ int ir_dump_samples(u32 *samples, int count)
	printk("\n");
	printk("\n");
	return 0;
	return 0;
}
}
EXPORT_SYMBOL_GPL(ir_dump_samples);


/* decode raw samples, pulse distance coding used by NEC remotes */
/* decode raw samples, pulse distance coding used by NEC remotes */
int ir_decode_pulsedistance(u32 *samples, int count, int low, int high)
int ir_decode_pulsedistance(u32 *samples, int count, int low, int high)
@@ -211,6 +216,7 @@ int ir_decode_pulsedistance(u32 *samples, int count, int low, int high)


	return value;
	return value;
}
}
EXPORT_SYMBOL_GPL(ir_decode_pulsedistance);


/* decode raw samples, biphase coding, used by rc5 for example */
/* decode raw samples, biphase coding, used by rc5 for example */
int ir_decode_biphase(u32 *samples, int count, int low, int high)
int ir_decode_biphase(u32 *samples, int count, int low, int high)
@@ -252,6 +258,7 @@ int ir_decode_biphase(u32 *samples, int count, int low, int high)
	}
	}
	return value;
	return value;
}
}
EXPORT_SYMBOL_GPL(ir_decode_biphase);


/* RC5 decoding stuff, moved from bttv-input.c to share it with
/* RC5 decoding stuff, moved from bttv-input.c to share it with
 * saa7134 */
 * saa7134 */
@@ -352,6 +359,7 @@ void ir_rc5_timer_end(unsigned long data)
		}
		}
	}
	}
}
}
EXPORT_SYMBOL_GPL(ir_rc5_timer_end);


void ir_rc5_timer_keyup(unsigned long data)
void ir_rc5_timer_keyup(unsigned long data)
{
{
@@ -360,21 +368,4 @@ void ir_rc5_timer_keyup(unsigned long data)
	dprintk(1, "ir-common: key released\n");
	dprintk(1, "ir-common: key released\n");
	ir_input_nokey(ir->dev, &ir->ir);
	ir_input_nokey(ir->dev, &ir->ir);
}
}

EXPORT_SYMBOL_GPL(ir_input_init);
EXPORT_SYMBOL_GPL(ir_input_nokey);
EXPORT_SYMBOL_GPL(ir_input_keydown);

EXPORT_SYMBOL_GPL(ir_extract_bits);
EXPORT_SYMBOL_GPL(ir_dump_samples);
EXPORT_SYMBOL_GPL(ir_decode_biphase);
EXPORT_SYMBOL_GPL(ir_decode_pulsedistance);

EXPORT_SYMBOL_GPL(ir_rc5_timer_end);
EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup);
EXPORT_SYMBOL_GPL(ir_rc5_timer_keyup);

/*
 * Local variables:
 * c-basic-offset: 8
 * End:
 */