Commit 0c4f52b
committed
drm/i915: make device info a const pointer to rodata
Finally we can get rid of the pseudo-const write-once device info, and
convert it into a const pointer to device info in rodata.
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f31933222f44e4a9224e41399a96896eb243e653.1687878757.git.jani.nikula@intel.com1 parent e672f9e commit 0c4f52b
2 files changed
Lines changed: 6 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | 367 | | |
375 | 368 | | |
376 | 369 | | |
| |||
430 | 423 | | |
431 | 424 | | |
432 | 425 | | |
433 | | - | |
434 | 426 | | |
435 | 427 | | |
436 | 428 | | |
437 | | - | |
438 | | - | |
439 | | - | |
| 429 | + | |
| 430 | + | |
440 | 431 | | |
441 | 432 | | |
442 | 433 | | |
443 | 434 | | |
444 | 435 | | |
445 | 436 | | |
446 | | - | |
| 437 | + | |
447 | 438 | | |
448 | 439 | | |
449 | 440 | | |
450 | 441 | | |
451 | 442 | | |
452 | | - | |
| 443 | + | |
453 | 444 | | |
454 | 445 | | |
455 | 446 | | |
| |||
0 commit comments