Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
*
*/
-#pragma once
+#ifndef GEN_DEVICE_INFO_H
+#define GEN_DEVICE_INFO_H
+
#include <stdbool.h>
/**
bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
const char *gen_get_device_name(int devid);
+
+#endif /* GEN_DEVICE_INFO_H */
* IN THE SOFTWARE.
*/
+#ifndef GEN_L3_CONFIG_H
+#define GEN_L3_CONFIG_H
+
#include <stdio.h>
#include "gen_device_info.h"
const struct gen_l3_config *cfg);
void gen_dump_l3_config(const struct gen_l3_config *cfg, FILE *fp);
+
+#endif /* GEN_L3_CONFIG_H */
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef GEN_SAMPLE_POSITIONS_H
+#define GEN_SAMPLE_POSITIONS_H
#define GEN_SAMPLE_POS_1X(prefix) \
prefix##0XOffset = 0.5; \
prefix##14YOffset = 0.9375; \
prefix##15XOffset = 0.0625; \
prefix##15YOffset = 0.0000;
+
+#endif /* GEN_SAMPLE_POSITIONS_H */