Commit cf3c415
committed
ocxl: make ocxl_class constant
Now that the driver core allows for struct class to be in read-only
memory, we should make all 'class' structures declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at runtime.
Cc: Andrew Donnellan <ajd@linux.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linuxppc-dev@lists.ozlabs.org
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Link: https://lore.kernel.org/r/2023102403-squirt-defraud-6c0c@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent d223192 commit cf3c415
1 file changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
509 | 508 | | |
510 | 509 | | |
511 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
512 | 521 | | |
513 | 522 | | |
514 | 523 | | |
| |||
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
532 | | - | |
| 541 | + | |
533 | 542 | | |
534 | 543 | | |
535 | 544 | | |
| |||
584 | 593 | | |
585 | 594 | | |
586 | 595 | | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | 596 | | |
593 | 597 | | |
594 | 598 | | |
| |||
601 | 605 | | |
602 | 606 | | |
603 | 607 | | |
604 | | - | |
605 | | - | |
| 608 | + | |
| 609 | + | |
606 | 610 | | |
607 | 611 | | |
608 | | - | |
| 612 | + | |
609 | 613 | | |
610 | 614 | | |
611 | | - | |
612 | 615 | | |
613 | 616 | | |
614 | 617 | | |
615 | 618 | | |
616 | 619 | | |
617 | | - | |
| 620 | + | |
618 | 621 | | |
619 | 622 | | |
620 | 623 | | |
0 commit comments