diff options
| author | CaiZhiyong <[email protected]> | 2014-01-21 14:39:25 -0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2014-01-21 20:18:26 -0800 |
| commit | bca266b3886b8bc587db044750c8a00d674b4d09 (patch) | |
| tree | f0926b313d9c718450a9817caf4927cbc2a33cb1 /include/linux | |
| parent | 6753471c0cb4562aebb9c70beb74ccd392d49ee8 (diff) | |
block: remove unrelated header files and export symbol
Fix up the following items:
- remove unrelated header files.
- export interface function.
- modify function cmdline_parts_parse return value, this will make
it more friendly for the caller.
Signed-off-by: CaiZhiyong <[email protected]>
Cc: Ezequiel Garcia <[email protected]>
CC: Brian Norris <[email protected]>
Cc: "Wanglin (Albert)" <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Cc: Karel Zak <[email protected]>
Cc: Shmulik Ladkani <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cmdline-parser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/cmdline-parser.h b/include/linux/cmdline-parser.h index a0f9280421ec..2e6dce6e5c2a 100644 --- a/include/linux/cmdline-parser.h +++ b/include/linux/cmdline-parser.h @@ -37,9 +37,9 @@ int cmdline_parts_parse(struct cmdline_parts **parts, const char *cmdline); struct cmdline_parts *cmdline_parts_find(struct cmdline_parts *parts, const char *bdev); -void cmdline_parts_set(struct cmdline_parts *parts, sector_t disk_size, - int slot, - int (*add_part)(int, struct cmdline_subpart *, void *), - void *param); +int cmdline_parts_set(struct cmdline_parts *parts, sector_t disk_size, + int slot, + int (*add_part)(int, struct cmdline_subpart *, void *), + void *param); #endif /* CMDLINEPARSEH */ |