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_median.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_median.c')
-rw-r--r-- | drivers/input/touchscreen/ts_filter_median.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ts_filter_median.c b/drivers/input/touchscreen/ts_filter_median.c index 547ca8d818a..b8a6206d1b7 100644 --- a/drivers/input/touchscreen/ts_filter_median.c +++ b/drivers/input/touchscreen/ts_filter_median.c @@ -105,7 +105,7 @@ static void ts_filter_median_clear(struct ts_filter *tsf) static struct ts_filter *ts_filter_median_create( struct platform_device *pdev, - struct ts_filter_configuration *conf, + const struct ts_filter_configuration *conf, int count_coords) { int *p; @@ -248,7 +248,7 @@ static void ts_filter_median_getpoint(struct ts_filter *tsf, int *point) priv->ready = 0; } -struct ts_filter_api ts_filter_median_api = { +const struct ts_filter_api ts_filter_median_api = { .create = ts_filter_median_create, .destroy = ts_filter_median_destroy, .clear = ts_filter_median_clear, @@ -257,3 +257,5 @@ struct ts_filter_api ts_filter_median_api = { .haspoint = ts_filter_median_haspoint, .getpoint = ts_filter_median_getpoint, }; +EXPORT_SYMBOL_GPL(ts_filter_median_api); + |