OSDN Git Service

staging/mei: mei-amt-version - make all function static and used
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 20 Feb 2012 12:46:03 +0000 (14:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Feb 2012 19:59:56 +0000 (11:59 -0800)
commit63319ba2d52852e2bf09b93e7024cae07132dd38
treef5bd2527f97d802d9f1df3f234e5b263f627599c
parent4b00706cd9499652051918305e70c7152d0cfd0e
staging/mei: mei-amt-version - make all function static and used

This patch eliminates following type of warnings
warning: no previous prototype for '...func...' [-Wmissing-prototypes]

For this is a single file example lets make all API-like functions
be static.
Since all static functions should be used so let's call
to amt_host_if_deinit() even if in this example it's not really necessary

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mei/mei-amt-version.c