projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
block: fix missing bio back/front segment size setting in blk_recount_segments()
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
block
/
noop-iosched.c
diff --git
a/block/noop-iosched.c
b/block/noop-iosched.c
index 7563d8aa39440bf1946849c745586cc1c7e9eb06..3a0d369d08c7488f8f475091ef3ee6b5dfe46211 100644
(file)
--- a/
block/noop-iosched.c
+++ b/
block/noop-iosched.c
@@
-76,7
+76,7
@@
static void *noop_init_queue(struct request_queue *q)
return nd;
}
return nd;
}
-static void noop_exit_queue(
elevator_t
*e)
+static void noop_exit_queue(
struct elevator_queue
*e)
{
struct noop_data *nd = e->elevator_data;
{
struct noop_data *nd = e->elevator_data;
@@
-101,7
+101,9
@@
static struct elevator_type elevator_noop = {
static int __init noop_init(void)
{
static int __init noop_init(void)
{
- return elv_register(&elevator_noop);
+ elv_register(&elevator_noop);
+
+ return 0;
}
static void __exit noop_exit(void)
}
static void __exit noop_exit(void)