mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH mmotm resend] serial/max3100: uses serial core
       [not found] <200811102254.mAAMsTU5029697@imap1.linux-foundation.org>
@ 2008-11-12 21:20 ` Randy Dunlap
  2008-11-12 21:26 ` mmotm 2008-11-10-14-54 uploaded (i5k_amb) Randy Dunlap
  2008-11-12 21:29 ` mmotm 2008-11-10-14-54 uploaded (RTC) Randy Dunlap
  2 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2008-11-12 21:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, Christian Pellegrin

From: Randy Dunlap <randy.dunlap@oracle.com>

max3100 driver need to select SERIAL_CORE like most other serial drivers do.

max3100.c:(.text+0x524c5): undefined reference to `uart_write_wakeup'
max3100.c:(.text+0x526eb): undefined reference to `uart_write_wakeup'
max3100.c:(.text+0x529f7): undefined reference to `uart_update_timeout'
max3100.c:(.text+0x52cfa): undefined reference to `uart_resume_port'
max3100.c:(.text+0x52d6a): undefined reference to `uart_suspend_port'
max3100.c:(.devinit.text+0x23e3): undefined reference to `uart_register_driver'
max3100.c:(.devinit.text+0x265a): undefined reference to `uart_add_one_port'
max3100.c:(.devexit.text+0x1aa): undefined reference to `uart_remove_one_port'
max3100.c:(.devexit.text+0x1e5): undefined reference to `uart_unregister_driver'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
cc: Christian Pellegrin <chripell@evolware.org>
---
 drivers/serial/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- mmotm-2008-1106-1344.orig/drivers/serial/Kconfig
+++ mmotm-2008-1106-1344/drivers/serial/Kconfig
@@ -511,6 +511,7 @@ config SERIAL_S3C2440
 config SERIAL_MAX3100
         tristate "MAX3100 support"
         depends on SPI
+	select SERIAL_CORE
         help
           MAX3100 chip support
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmotm 2008-11-10-14-54 uploaded (i5k_amb)
       [not found] <200811102254.mAAMsTU5029697@imap1.linux-foundation.org>
  2008-11-12 21:20 ` [PATCH mmotm resend] serial/max3100: uses serial core Randy Dunlap
@ 2008-11-12 21:26 ` Randy Dunlap
  2008-11-12 21:54   ` Andrew Morton
  2008-11-12 21:29 ` mmotm 2008-11-10-14-54 uploaded (RTC) Randy Dunlap
  2 siblings, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2008-11-12 21:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, djwong


drivers/hwmon/i5K_amb.c contains a few duplicated lines, causing:

mmotm-2008-1112-1148/drivers/hwmon/i5k_amb.c:500: error: redefinition of 'i5k_amb_ids'
mmotm-2008-1112-1148/drivers/hwmon/i5k_amb.c:493: error: previous definition of 'i5k_amb_ids' was here



static struct pci_device_id i5k_amb_ids[] __devinitdata = {
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) },
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) },
	{ 0, }
};
MODULE_DEVICE_TABLE(pci, i5k_amb_ids);

static struct pci_device_id i5k_amb_ids[] __devinitdata = {
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) },
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) },
	{ 0, },
};

MODULE_DEVICE_TABLE(pci, i5k_amb_ids);

---
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmotm 2008-11-10-14-54 uploaded (RTC)
       [not found] <200811102254.mAAMsTU5029697@imap1.linux-foundation.org>
  2008-11-12 21:20 ` [PATCH mmotm resend] serial/max3100: uses serial core Randy Dunlap
  2008-11-12 21:26 ` mmotm 2008-11-10-14-54 uploaded (i5k_amb) Randy Dunlap
@ 2008-11-12 21:29 ` Randy Dunlap
  2008-11-12 21:40   ` Andrew Morton
  2008-11-12 22:06   ` Alessandro Zummo
  2 siblings, 2 replies; 6+ messages in thread
From: Randy Dunlap @ 2008-11-12 21:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, a.zummo


drivers/rtc/rtc-dev.c contains 2 duplicated switch cases:

mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c: In function 'rtc_dev_ioctl':
mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:421: error: duplicate case value
mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:372: error: previously used here
mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:426: error: duplicate case value
mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:368: error: previously used here

---
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmotm 2008-11-10-14-54 uploaded (RTC)
  2008-11-12 21:29 ` mmotm 2008-11-10-14-54 uploaded (RTC) Randy Dunlap
@ 2008-11-12 21:40   ` Andrew Morton
  2008-11-12 22:06   ` Alessandro Zummo
  1 sibling, 0 replies; 6+ messages in thread
From: Andrew Morton @ 2008-11-12 21:40 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, a.zummo

On Wed, 12 Nov 2008 13:29:05 -0800
Randy Dunlap <rdunlap@xenotime.net> wrote:

> 
> drivers/rtc/rtc-dev.c contains 2 duplicated switch cases:
> 
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c: In function 'rtc_dev_ioctl':
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:421: error: duplicate case value
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:372: error: previously used here
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:426: error: duplicate case value
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:368: error: previously used here
> 

Thanks.  rtc-add-alarm-update-irq-interfaces.patch is incompatible with
rtc-rtc-wm8350-add-support-for-wm8350-rtc.patch.  I'll drop
rtc-add-alarm-update-irq-interfaces.patch.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmotm 2008-11-10-14-54 uploaded (i5k_amb)
  2008-11-12 21:26 ` mmotm 2008-11-10-14-54 uploaded (i5k_amb) Randy Dunlap
@ 2008-11-12 21:54   ` Andrew Morton
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Morton @ 2008-11-12 21:54 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, djwong

On Wed, 12 Nov 2008 13:26:40 -0800
Randy Dunlap <rdunlap@xenotime.net> wrote:

> 
> drivers/hwmon/i5K_amb.c contains a few duplicated lines, causing:
> 
> mmotm-2008-1112-1148/drivers/hwmon/i5k_amb.c:500: error: redefinition of 'i5k_amb_ids'
> mmotm-2008-1112-1148/drivers/hwmon/i5k_amb.c:493: error: previous definition of 'i5k_amb_ids' was here
> 
> 
> 
> static struct pci_device_id i5k_amb_ids[] __devinitdata = {
> 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) },
> 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) },
> 	{ 0, }
> };
> MODULE_DEVICE_TABLE(pci, i5k_amb_ids);
> 
> static struct pci_device_id i5k_amb_ids[] __devinitdata = {
> 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) },
> 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) },
> 	{ 0, },
> };
> 
> MODULE_DEVICE_TABLE(pci, i5k_amb_ids);

ok, i5k_amb-load-automatically-on-all-5000-5400-chipsets.patch got
changed then merged via the i2c tree.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mmotm 2008-11-10-14-54 uploaded (RTC)
  2008-11-12 21:29 ` mmotm 2008-11-10-14-54 uploaded (RTC) Randy Dunlap
  2008-11-12 21:40   ` Andrew Morton
@ 2008-11-12 22:06   ` Alessandro Zummo
  1 sibling, 0 replies; 6+ messages in thread
From: Alessandro Zummo @ 2008-11-12 22:06 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, akpm

On Wed, 12 Nov 2008 13:29:05 -0800
Randy Dunlap <rdunlap@xenotime.net> wrote:

> 
> drivers/rtc/rtc-dev.c contains 2 duplicated switch cases:
> 
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c: In function 'rtc_dev_ioctl':
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:421: error: duplicate case value
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:372: error: previously used here
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:426: error: duplicate case value
> mmotm-2008-1112-1148/drivers/rtc/rtc-dev.c:368: error: previously used here

 my fault, fix will follow.

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-12 22:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200811102254.mAAMsTU5029697@imap1.linux-foundation.org>
2008-11-12 21:20 ` [PATCH mmotm resend] serial/max3100: uses serial core Randy Dunlap
2008-11-12 21:26 ` mmotm 2008-11-10-14-54 uploaded (i5k_amb) Randy Dunlap
2008-11-12 21:54   ` Andrew Morton
2008-11-12 21:29 ` mmotm 2008-11-10-14-54 uploaded (RTC) Randy Dunlap
2008-11-12 21:40   ` Andrew Morton
2008-11-12 22:06   ` Alessandro Zummo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®