diff options
author | Nelson Castillo <arhuaco@freaks-unidos.net> | 2009-03-10 12:04:26 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-03-10 12:04:26 +0000 |
commit | 25db5513242fb8d9fac0f461e110cc82d6b3f90f (patch) | |
tree | 2adeedac9d13da47f8093f04e4aa37b1f97aa905 /drivers/input/touchscreen/ts_filter_mean.c | |
parent | 9e58a18567ec1ef306ea7b973749e5cd9902702c (diff) |
Export symbols and make a few symbols constant.
~ Make a few symbols constant.
~ Export symbols explicitly.
~ Move ts_filter.c to ts_filter_chain.c (this will make sense later).
Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Diffstat (limited to 'drivers/input/touchscreen/ts_filter_mean.c')
-rw-r--r-- | drivers/input/touchscreen/ts_filter_mean.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ts_filter_mean.c b/drivers/input/touchscreen/ts_filter_mean.c index 291226e6fdb..a3c5f0847fd 100644 --- a/drivers/input/touchscreen/ts_filter_mean.c +++ b/drivers/input/touchscreen/ts_filter_mean.c @@ -52,7 +52,7 @@ static void ts_filter_mean_clear(struct ts_filter *tsf); static struct ts_filter *ts_filter_mean_create( struct platform_device *pdev, - struct ts_filter_configuration *conf, + const struct ts_filter_configuration *conf, int count_coords) { struct ts_filter_mean *priv; @@ -161,7 +161,7 @@ static void ts_filter_mean_scale(struct ts_filter *tsf, int *coords) } } -struct ts_filter_api ts_filter_mean_api = { +const struct ts_filter_api ts_filter_mean_api = { .create = ts_filter_mean_create, .destroy = ts_filter_mean_destroy, .clear = ts_filter_mean_clear, @@ -170,4 +170,5 @@ struct ts_filter_api ts_filter_mean_api = { .haspoint = ts_filter_mean_haspoint, .getpoint = ts_filter_mean_getpoint, }; +EXPORT_SYMBOL_GPL(ts_filter_mean_api); |