The write fops callback is assigned seq_lseek, but it is for llseek
callback. Also simslot_count never allows writing on it. Fix wrong
write fops callback to llseek callback.
Note: simslot_count is olny read by tel-plugin package and there is
no write or no lseek cases.
Change-Id: I0fe20e4caac899036bcdc5f01786bceaab059490
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
static const struct file_operations check_simslot_count_fops = {
.open = check_simslot_count_open,
.read = seq_read,
- .write = seq_lseek,
+ .llseek = seq_lseek,
.release = single_release,
};