Include guards
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#ifndef CARD_H
|
||||
#define CARD_H
|
||||
|
||||
#define NVIDIA_VEN 0x10DE
|
||||
|
||||
#define NVIDIA_RTX3060_DEV 0x2503
|
||||
@@ -36,3 +39,4 @@ struct card_info {
|
||||
unsigned short read_pci_id(char *device_path, char *field);
|
||||
char *read_nvidia_pci_address(char *device_path);
|
||||
void mmap_bar0(struct card_info *card);
|
||||
#endif
|
||||
Reference in New Issue
Block a user