diff options
author | Dima Zavin <dima@android.com> | 2012-03-30 11:58:04 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-03-30 11:58:04 -0700 |
commit | e8da6bf1cc12a45a6a273d4de6f5b935081c63e5 (patch) | |
tree | 9bc7011362d27d1282e7718af4392a506b057994 | |
parent | e911e4c160a2569efeb4a83bb3a73daa49bc927a (diff) | |
parent | 2fe3ae5ec955773d389ef11c116848188dcf253f (diff) | |
download | hardware_libhardware-e8da6bf1cc12a45a6a273d4de6f5b935081c63e5.zip hardware_libhardware-e8da6bf1cc12a45a6a273d4de6f5b935081c63e5.tar.gz hardware_libhardware-e8da6bf1cc12a45a6a273d4de6f5b935081c63e5.tar.bz2 |
Merge "hardware: add some guidance on providing version defines"
-rw-r--r-- | include/hardware/hardware.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hardware/hardware.h b/include/hardware/hardware.h index b106e2b..78c4572 100644 --- a/include/hardware/hardware.h +++ b/include/hardware/hardware.h @@ -53,6 +53,10 @@ __BEGIN_DECLS /* * Helper macros for module implementors. * + * The derived modules should provide convenience macros for supported + * versions so that implementations can explicitly specify module/device + * versions at definition time. + * * Use this macro to set the hw_module_t.module_api_version field. */ #define HARDWARE_MODULE_API_VERSION(maj,min) HARDWARE_MAKE_API_VERSION(maj,min) |