diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
| -rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 99304194a65c..59a15315ae9f 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
| @@ -142,21 +142,6 @@ struct radeon_device; | |||
| 142 | /* | 142 | /* |
| 143 | * BIOS. | 143 | * BIOS. |
| 144 | */ | 144 | */ |
| 145 | #define ATRM_BIOS_PAGE 4096 | ||
| 146 | |||
| 147 | #if defined(CONFIG_VGA_SWITCHEROO) | ||
| 148 | bool radeon_atrm_supported(struct pci_dev *pdev); | ||
| 149 | int radeon_atrm_get_bios_chunk(uint8_t *bios, int offset, int len); | ||
| 150 | #else | ||
| 151 | static inline bool radeon_atrm_supported(struct pci_dev *pdev) | ||
| 152 | { | ||
| 153 | return false; | ||
| 154 | } | ||
| 155 | |||
| 156 | static inline int radeon_atrm_get_bios_chunk(uint8_t *bios, int offset, int len){ | ||
| 157 | return -EINVAL; | ||
| 158 | } | ||
| 159 | #endif | ||
| 160 | bool radeon_get_bios(struct radeon_device *rdev); | 145 | bool radeon_get_bios(struct radeon_device *rdev); |
| 161 | 146 | ||
| 162 | /* | 147 | /* |
