]> git.karo-electronics.de Git - karo-tx-linux.git/commit
asiliantfb: add missing return statement
authorVlada Peric <vlada.peric@gmail.com>
Tue, 21 Apr 2009 19:23:59 +0000 (12:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Apr 2009 20:41:47 +0000 (13:41 -0700)
commit44aa417910ec9cda6da42be914105e789273b507
treebe2ea32bb8d74b309b7602b7315c7234cd7e7344
parentb33ecba033ca649f6350696a3057d916a23a775a
asiliantfb: add missing return statement

Commit 032220ba (asiliantfb: fix cmap memory leaks) changed the function
init_asiliant from void to int, resulting in the following compile warning:

  drivers/video/asiliantfb.c: In function `init_asiliant':
  drivers/video/asiliantfb.c:536: warning: control reaches end of non-void function

Fix the warning by returning 0.

Signed-off-by: Vlada Peric <vlada.peric@gmail.com>
Cc: Andres Salomon <dilinger@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/asiliantfb.c