ipc: Added platform data structure
authorKuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Thu, 14 Nov 2013 22:15:04 +0000 (14:15 -0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 20 Nov 2013 23:51:28 +0000 (18:51 -0500)
commite97a1c981723f3b7620b124859383a457b12f06f
treed3a4454eea5b1306eefd6a37e1162799d7e73fdf
parentcab6661344f14a09d7aecdf821a40f68ef9b18cc
ipc: Added platform data structure

Since the same ipc driver can be used by many platforms, using
macros for defining ipc_base and i2c_base addresses is not
a scalable approach. So added a platform data structure to pass
this information.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Acked-by: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
Cc: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/intel_scu_ipc.c