Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame^] | 1 | #include "revision_path.h" |
2 | |||||
3 | namespace { | ||||
4 | |||||
5 | // The path to the product revision file. | ||||
6 | static const char* kProductRevisionFilePath = | ||||
7 | "/sys/firmware/devicetree/base/goog,board-revision"; | ||||
8 | |||||
9 | } // anonymous namespace | ||||
10 | |||||
11 | // This exists in a separate file so that it can be replaced for | ||||
12 | // testing. | ||||
13 | const char* dvr_product_revision_file_path() { | ||||
14 | return kProductRevisionFilePath; | ||||
15 | } |