Skip to contentSkip to conversation

ALSA: Correct the kernel object suffix of target

PATCH In review Andy Shevchenko 2 participants 3 messages May 6, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: Correct the kernel object suffix of target

The correct suffix is 'y' for the kernel code and
'objs' for the user space. Update documentation.

---
 Documentation/sound/kernel-api/writing-an-alsa-driver.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/sound/kernel-api/writing-an-alsa-driver.rst +2 -2
index 2d2998faff62..801b0bb57e97 100644
@@ -3976,7 +3976,7 @@ Driver with A Single Source File
 
    Suppose you have a file xyz.c. Add the following two lines::
 
-     snd-xyz-objs := xyz.o
+     snd-xyz-y := xyz.o
      obj-$(CONFIG_SND_XYZ) += snd-xyz.o
 
 2. Create the Kconfig entry
@@ -4019,7 +4019,7 @@ located in the new subdirectory, sound/pci/xyz.
 
 2. Under the directory ``sound/pci/xyz``, create a Makefile::
 
-         snd-xyz-objs := xyz.o abc.o def.o
+         snd-xyz-y := xyz.o abc.o def.o
          obj-$(CONFIG_SND_XYZ) += snd-xyz.o
 
 3. Create the Kconfig entry
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
#1 lore raw
Quoted 5 lines · Andy Shevchenko

The correct suffix is 'y' for the kernel code and
'objs' for the user space. Update documentation.

Applied now. I added a suffix to the subject to indicate it's a documentation fix, too.

thanks,

Takashi

#2 lore raw
Quoted 10 lines · Takashi Iwai
Quoted 5 lines · Andy Shevchenko

The correct suffix is 'y' for the kernel code and
'objs' for the user space. Update documentation.

Applied now. I added a suffix to the subject to indicate it's a documentation fix, too.

Thank you!

Signature · 2 lines
With Best Regards,
Andy Shevchenko