diff -urN /var/lib/dkms/alsa-hda/0.201303081653~precise1/build/hda_codec.h dkms_changed/alsa-hda/0.201303081653~precise1/build/hda_codec.h
--- /var/lib/dkms/alsa-hda/0.201303081653~precise1/build/hda_codec.h	2013-03-26 16:27:41.379048397 +0530
+++ dkms_changed/alsa-hda/0.201303081653~precise1/build/hda_codec.h	2013-03-26 12:54:36.000000000 +0530
@@ -42,14 +42,6 @@
 };
 	
 
-/* Backport patch start */
-/* sound printk debug levels */
-enum {
-       SND_PR_ALWAYS,
-       SND_PR_DEBUG,
-       SND_PR_VERBOSE,
-};
-
 #ifdef CONFIG_SND_DEBUG
 #define _snd_printd(level, fmt, args...) \
        __snd_printk(level, __FILE__, __LINE__, fmt, ##args)
@@ -1075,11 +1067,6 @@
 int snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid,
 				unsigned int format);
 
-/* array element of channel maps */
-struct snd_pcm_chmap_elem {
-	unsigned char channels;
-	unsigned char map[15];
-};
 
 extern const struct snd_pcm_chmap_elem snd_pcm_2_1_chmaps[];
 
diff -urN /var/lib/dkms/alsa-hda/0.201303081653~precise1/build/hda_intel.c dkms_changed/alsa-hda/0.201303081653~precise1/build/hda_intel.c
--- /var/lib/dkms/alsa-hda/0.201303081653~precise1/build/hda_intel.c	2013-03-26 16:27:41.775048412 +0530
+++ dkms_changed/alsa-hda/0.201303081653~precise1/build/hda_intel.c	2013-03-26 12:54:37.000000000 +0530
@@ -1437,7 +1437,7 @@
 /*
  * compute the max chunk size with continuous pages on sg-buffer
  */
-static unsigned int snd_sgbuf_get_chunk_size(struct snd_dma_buffer *dmab,
+unsigned int snd_sgbuf_get_chunk_size(struct snd_dma_buffer *dmab,
 				      unsigned int ofs, unsigned int size)
 {
 	struct snd_sg_buf *sg = dmab->private_data;
diff -urN /var/lib/dkms/alsa-hda/0.201303081653~precise1/build/hda_local.h dkms_changed/alsa-hda/0.201303081653~precise1/build/hda_local.h
--- /var/lib/dkms/alsa-hda/0.201303081653~precise1/build/hda_local.h	2013-03-26 16:27:41.643048407 +0530
+++ dkms_changed/alsa-hda/0.201303081653~precise1/build/hda_local.h	2013-03-26 12:54:37.000000000 +0530
@@ -774,39 +774,5 @@
 #define SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE 80
 void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen);
 
-/* channel positions */
-enum {
-	SNDRV_CHMAP_UNKNOWN = 0,
-	SNDRV_CHMAP_NA,		/* N/A, silent */
-	SNDRV_CHMAP_MONO,	/* mono stream */
-	/* this follows the alsa-lib mixer channel value + 3 */
-	SNDRV_CHMAP_FL,		/* front left */
-	SNDRV_CHMAP_FR,		/* front right */
-	SNDRV_CHMAP_RL,		/* rear left */
-	SNDRV_CHMAP_RR,		/* rear right */
-	SNDRV_CHMAP_FC,		/* front center */
-	SNDRV_CHMAP_LFE,	/* LFE */
-	SNDRV_CHMAP_SL,		/* side left */
-	SNDRV_CHMAP_SR,		/* side right */
-	SNDRV_CHMAP_RC,		/* rear center */
-	/* new definitions */
-	SNDRV_CHMAP_FLC,	/* front left center */
-	SNDRV_CHMAP_FRC,	/* front right center */
-	SNDRV_CHMAP_RLC,	/* rear left center */
-	SNDRV_CHMAP_RRC,	/* rear right center */
-	SNDRV_CHMAP_FLW,	/* front left wide */
-	SNDRV_CHMAP_FRW,	/* front right wide */
-	SNDRV_CHMAP_FLH,	/* front left high */
-	SNDRV_CHMAP_FCH,	/* front center high */
-	SNDRV_CHMAP_FRH,	/* front right high */
-	SNDRV_CHMAP_TC,		/* top center */
-	SNDRV_CHMAP_TFL,	/* top front left */
-	SNDRV_CHMAP_TFR,	/* top front right */
-	SNDRV_CHMAP_TFC,	/* top front center */
-	SNDRV_CHMAP_TRL,	/* top rear left */
-	SNDRV_CHMAP_TRR,	/* top rear right */
-	SNDRV_CHMAP_TRC,	/* top rear center */
-	SNDRV_CHMAP_LAST = SNDRV_CHMAP_TRC,
-};
 
 #endif /* __SOUND_HDA_LOCAL_H */
