Commit 7302d2b
committed
i2c: tegra: allow DVC support to be compiled out
JIRA: https://issues.redhat.com/browse/RHEL-50601
commit a55efa7
Author: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= <mirq-linux@rere.qmqm.pl>
Date: Sat, 6 May 2023 23:19:01 +0200
Save a bit of code for newer Tegra platforms by compiling out
DVC's I2C mode support that's used only for Tegra2.
$ size i2c-tegra.o
text data bss dec hex filename
- 11381 292 8 11681 2da1 i2c-tegra.o
+ 10193 292 8 10493 28fd i2c-tegra.o
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Mark Salter <msalter@redhat.com>1 parent 0acbeb2 commit 7302d2b
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
| 300 | + | |
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
| |||
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
316 | | - | |
| 318 | + | |
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
| |||
623 | 625 | | |
624 | 626 | | |
625 | 627 | | |
626 | | - | |
| 628 | + | |
627 | 629 | | |
628 | 630 | | |
629 | 631 | | |
| |||
687 | 689 | | |
688 | 690 | | |
689 | 691 | | |
690 | | - | |
| 692 | + | |
691 | 693 | | |
692 | 694 | | |
693 | 695 | | |
| |||
917 | 919 | | |
918 | 920 | | |
919 | 921 | | |
920 | | - | |
| 922 | + | |
921 | 923 | | |
922 | 924 | | |
923 | 925 | | |
| |||
956 | 958 | | |
957 | 959 | | |
958 | 960 | | |
959 | | - | |
| 961 | + | |
960 | 962 | | |
961 | 963 | | |
962 | 964 | | |
| |||
1632 | 1634 | | |
1633 | 1635 | | |
1634 | 1636 | | |
| 1637 | + | |
1635 | 1638 | | |
| 1639 | + | |
1636 | 1640 | | |
1637 | 1641 | | |
1638 | 1642 | | |
| |||
1647 | 1651 | | |
1648 | 1652 | | |
1649 | 1653 | | |
1650 | | - | |
| 1654 | + | |
| 1655 | + | |
1651 | 1656 | | |
1652 | 1657 | | |
1653 | 1658 | | |
| |||
0 commit comments