diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2011-08-26 11:55:46 +0100 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-10-24 16:52:39 +0200 |
commit | 21893ab24c78ec844cbaffbb7bf11b33cfdea8b4 (patch) | |
tree | 86aab2f5c007eb112331eb928ca9e802aee7bbf4 /kernel/cpu.c | |
parent | 6cb8c13da10855f17110421d9b13db015e11840e (diff) | |
download | blackbird-obmc-linux-21893ab24c78ec844cbaffbb7bf11b33cfdea8b4.tar.gz blackbird-obmc-linux-21893ab24c78ec844cbaffbb7bf11b33cfdea8b4.zip |
intel_scu_ipcutil: fix major device number handling
We need to save major device number to be able to use it for
unregister_chrdev() in ipc_module_exit().
ipc_module_init() must return 0 on success, not major device number.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions